Chaos ruler
New Member
Hey all,
I hope you guys could help me with this.
I made a healing over time spell. Just like the "heal friend spell" but over time. Now the problem is when you cast Exura bless "blaba, then you see the blue sparkle on someone. But it only happends one time.. And after 3 seconds it get's healed again since it's a over time healing spell. But the healing you get after the first time you healed isn't showed with the blue sparkle. You can only see your health going full instead of "health going full + blue sparkle". I don't think it's hard to make but i have no idea how!
What should i change?
Here's the script:
Thanks in advance,
I hope you guys could help me with this.
I made a healing over time spell. Just like the "heal friend spell" but over time. Now the problem is when you cast Exura bless "blaba, then you see the blue sparkle on someone. But it only happends one time.. And after 3 seconds it get's healed again since it's a over time healing spell. But the healing you get after the first time you healed isn't showed with the blue sparkle. You can only see your health going full instead of "health going full + blue sparkle". I don't think it's hard to make but i have no idea how!
What should i change?
Here's the script:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, CONDITION_PARAM_TICKS, 1 * 30 * 3000)
setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 500)
setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 1000)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Thanks in advance,