sick
Member
So the idea is:
When paralyze is shot it also changes target's outfit and outfit disappears when paralyze is gone. So lets say target's outfit changes to outfit type 222.
The paralyze script is right here :
Thanks in advance :thumbup:
When paralyze is shot it also changes target's outfit and outfit disappears when paralyze is gone. So lets say target's outfit changes to outfit type 222.
The paralyze script is right here :
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.7, 0, -0.7, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Thanks in advance :thumbup: