Ir para conteúdo
  • 0

Meu server veio sem exura sio, alguem posta pra mim


roriscrave

Pergunta

5 respostass a esta questão

Posts Recomendados

  • 0

 

<instant name="Heal Friend" words="exura sio" lvl="18" mana="140" prem="1" aggressive="0" needtarget="1" params="1" exhaustion="1000" needlearn="0" script="healing/heal friend.lua">

<vocation name="Druid" />

<vocation name="Elder Druid" />

</instant>

 

 

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)

setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)

setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

 

function onGetFormulaValues(cid, level, maglevel)

min = level/5 + maglevel*5.2

max = level/5 + maglevel*7.8

 

return min, max

end

 

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

 

local area = createCombatArea(AREA_CIRCLE3X3)

setCombatArea(combat, area)

 

function onCastSpell(cid, var)

return doCombat(cid, combat, var)

end

 

 

 

 

<instant name="Mass Healing" words="exura gran mas res" lvl="36" mana="150" prem="1" aggressive="0" exhaustion="1000" needlearn="0" script="healing/mass healing.lua">

<vocation name="Druid" />

<vocation name="Elder Druid" />

</instant>

 

 

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)

setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)

setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

 

function onGetFormulaValues(cid, level, maglevel)

min = level/5 + maglevel*6

max = level/5 + maglevel*12

 

return min, max

end

 

 

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

 

 

function onCastSpell(cid, var)

return doCombat(cid, combat, var)

end

 

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...