can u help me guys to make this work, example
i want to add wait time on this spell like after use utani hur i need to wait 3 seconds + immobilized to get condition_haste
+ animated effect :
0,1,1,1,0,
0,1,2,1,0,
0,1,1,1,0
heres a video watch 0:08 seconds
the guy is buffin up + immobilized and after 3 seconds obtain the benefit
[video=youtube;LRhxZ88ErrY]http://www.youtube.com/watch?v=LRhxZ88ErrY[/video]
plszz help me guys!!! rep+++
i want to add wait time on this spell like after use utani hur i need to wait 3 seconds + immobilized to get condition_haste
+ animated effect :
0,1,1,1,0,
0,1,2,1,0,
0,1,1,1,0
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 300000)
setConditionFormula(condition, 1.2, -56, 1.7, -56)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
heres a video watch 0:08 seconds
the guy is buffin up + immobilized and after 3 seconds obtain the benefit
[video=youtube;LRhxZ88ErrY]http://www.youtube.com/watch?v=LRhxZ88ErrY[/video]
plszz help me guys!!! rep+++
Last edited: