hello..
i have a healing rune but i cant use in temple.. how i fix it?
can someone help me please?
Thanks
i have a healing rune but i cant use in temple.. how i fix it?
Code:
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_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function onGetFormulaValues(cid, level, maglevel)
min = (level * 5 + maglevel * 5) * 2.8
max = (level * 7 + maglevel * 7) * 3.2
if min < 250 then
min = 250
end
return min, max
end
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
doPlayerSay(cid, "Ultimate Super Healing Rune", TALKTYPE_ORANGE_1)
return doCombat(cid, combat, var)
end
Code:
<rune name="Ultimate Super Healing" id="2270" charges="1" lvl="1" maglv="8" mana="0" soul="0" exhaustion="0" prem="0" enabled="1" allowfaruse="1" script="new/ultimateuh.lua" />
can someone help me please?
Thanks