• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

help me with this?

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

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
healingdamage.jpg


i just cant get it to work with exura gran mas res and exura sio any help?
 
Back
Top