there is other way to do that, in c++ source... try looking the poison effect
but there is a easyer way, just by .lua... Try something like this:
local paral= createConditionObject(CONDITION_PARALYZE)
setConditionParam(paral, CONDITION_PARAM_TICKS, 5000)
setConditionFormula(paral, -0.6, -56...