Ecstacy
Mothafuckaaa
Hello,
I'm having some unwanted delay with my healing runes.
I.e. when I'm holding a hotkey it heals every 2 seconds or so, but I want to get rid of that.
Also, how would I be able to set how much the UH heals and how much it can max. heal?
I haven't changed anything yet in my UH script, but just in case I'll post it.
Thanks in advance,
unknown666
I'm having some unwanted delay with my healing runes.
I.e. when I'm holding a hotkey it heals every 2 seconds or so, but I want to get rid of that.
Also, how would I be able to set how much the UH heals and how much it can max. heal?
I haven't changed anything yet in my UH script, but just in case I'll post it.
Lua:
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)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 10, 12)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Thanks in advance,
unknown666
Last edited: