• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved [TFS 1.0] Paralyze somoene in a nonspell script?

Kinda complicated, if you use an item, it will boost your next attack with a slow. What I need help with is how to use conditions like paralyze, haste etc outside spells.
 
Code:
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)

-- under function onUse
doAddCondition(cid, condition)
 
Back
Top