assassinhunter
moderate gun spriter
- Joined
- May 31, 2008
- Messages
- 34
- Reaction score
- 0
i want it so it will show how much you healed in green above your head for mas healing how do i do this>?
well i got the other spells to work with the animated text but i cant seem to get it to work with exura sio" and exura gran mas res
here is the example of the code i used for exura vita. that works with the animated text how can i addapt this to work with exura sio and exura gran mas res.
and heres a the code i used for exura vita that works
and heres a pic of exura vita animated text of it working
i just cant get it to work with exura gran mas res and exura sio any help?
well i got the other spells to work with the animated text but i cant seem to get it to work with exura sio" and exura gran mas res
here is the example of the code i used for exura vita. that works with the animated text how can i addapt this to work with exura sio and exura gran mas res.
and heres a the code i used for exura vita that works
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function onGetFormulaValues(cid, level, maglevel)
min = (level * 2 + maglevel * 3) * 2.3 - 25
max = (level * 2 + maglevel * 3) * 2.6
local healing = math.random(min, max);
doSendAnimatedText(getPlayerPosition(cid), '+' .. healing, TEXTCOLOR_LIGHTGREEN)
return healing, healing
end
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
and heres a pic of exura vita animated text of it working
i just cant get it to work with exura gran mas res and exura sio any help?