Serp
/* No comment */
- Joined
- Mar 23, 2008
- Messages
- 249
- Reaction score
- 1
Trying to make this spell reduce the players hp just AFTER the 6th part of the spell, but it does it as soon as the players casts
Can someone tell me what i did wrong?
Bottom of the spell \/
Can someone tell me what i did wrong?
Bottom of the spell \/
PHP:
function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6 }
mayNotMove(cid, 1)
addEvent(onCastSpell1, 1000, parameters)
addEvent(onCastSpell2, 2000, parameters)
addEvent(onCastSpell3, 3000, parameters)
addEvent(onCastSpell4, 4000, parameters)
addEvent(onCastSpell5, 5000, parameters)
addEvent(onCastSpell6, 6000, parameters)
addEVent(doCreatureAddHealth(cid, -100), 6010, parameters)
end