Can someone please tell me what's wrong with my paralyze arrow script .
how can i change proc chance..
'
i need it to do psyhical damage
and have like 10 % to paralyze
And maybe someone can convert it to drunken arrow script
Still didnt get any help can someone please fix it ..
Got the damage working but still dont know how to edit proc chance
how can i change proc chance..
'
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PSYICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ARROW)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1, 0, 1, 0)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 60000)
setConditionFormula(condition, -1.0, 0, -1.0, 0)
setCombatCondition(combat, condition)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
i need it to do psyhical damage
and have like 10 % to paralyze
And maybe someone can convert it to drunken arrow script
Still didnt get any help can someone please fix it ..
Got the damage working but still dont know how to edit proc chance
Last edited: