I using tfs 0.4
My paralyze rune are f**k't up i want it make so players are paralyzed in 3 sec like helgas..
I have try this too and nothing happens still same only 1 sec
Kind regards
Byllan
My paralyze rune are f**k't up i want it make so players are paralyzed in 3 sec like helgas..
PHP:
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, 30000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
I have try this too and nothing happens still same only 1 sec
PHP:
setConditionParam(condition, CONDITION_PARAM_TICKS, 30000000000)
Kind regards
Byllan