hi,
got this script but it is not working properly. It does the exhaust but it doesn't poff or send a cancel message.. Anyone who can fix it for me?
I'm using TFS 1.0
+ for some reason it doesn't use any mana.. anyone kow how that is possible?
thanks in advance,
got this script but it is not working properly. It does the exhaust but it doesn't poff or send a cancel message.. Anyone who can fix it for me?
I'm using TFS 1.0
Code:
function onCastSpell(cid, var)
if getCreatureCondition(cid, CONDITION_EXHAUST) == TRUE then
doSendMagicEffect(getThingPos(cid), CONST_ME_POFF)
doPlayerSendCancel(cid, "You are exhausted")
return TRUE
end
doAddCondition(cid, exhaust)
+ for some reason it doesn't use any mana.. anyone kow how that is possible?
Code:
<instant group="support" spellid="200" name="Super Haste" words="utani hur mort" lvl="80" mana="150" prem="1" aggressive="0" selftarget="1" exhaustion="25000" groupcooldown="2000" needlearn="0" script="attack/CV DK haste.lua">
<vocation name="Death Knight"/>
</instant>
thanks in advance,