Guest User

Untitled

a guest
May 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. local combat = createCombatObject()
  2. setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
  3. setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)
  4. setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
  5. setCombatFormula(combat, COMBAT_FORMULA_SKILL , 0, 0, 0, -150)
  6.  
  7. local condition = createConditionObject(CONDITION_PARALYZE)
  8. setConditionParam(condition, CONDITION_PARAM_TICKS, 5000)
  9. setConditionParam(condition, CONDITION_PARAM_SPEED, -500)
  10. setCombatCondition(combat, condition)
  11.  
  12. function onUseWeapon(cid, var)
  13. doCombat(cid, combat, var)
  14. end
Add Comment
Please, Sign In to add comment