9
3

Whack.lua 679 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Rob.lua
  3. Script Purpose : Brigand Direct Damage + Debuff
  4. Script Author : Zcoretri
  5. Script Date : 17.April.2010
  6. Script Notes :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinDmg, MaxDmg, StatAmt)
  9. -- Add check for Caster is using sneaking ability
  10. if MaxDmg ~= nil and MinDmg < MaxDmg then
  11. dmgAmount = math.random(MinDmg, MaxDmg)
  12. SpellDamage(Target, DmgType, dmgAmount)
  13. else
  14. SpellDamage(Target, DmgType, MinDmg)
  15. end
  16. --AddSpellBonus(Target, 0, StatAmt)
  17. end
  18. function tick(Caster, Target, DmgType, MinDmg, MaxDmg, StatAmt)
  19. end
  20. function remove(Caster, Target, DmgType, MinDmg, MaxDmg, StatAmt)
  21. --RemoveSpellBonus(Target)
  22. end