Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local combat = createCombatObject()
- setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
- setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)
- setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
- setCombatFormula(combat, COMBAT_FORMULA_SKILL , 0, 0, 0, -150)
- local condition = createConditionObject(CONDITION_PARALYZE)
- setConditionParam(condition, CONDITION_PARAM_TICKS, 5000)
- setConditionParam(condition, CONDITION_PARAM_SPEED, -500)
- setCombatCondition(combat, condition)
- function onUseWeapon(cid, var)
- doCombat(cid, combat, var)
- end
Add Comment
Please, Sign In to add comment