9
3

Wrath.lua 454 B

123456789101112131415161718
  1. --[[
  2. Script Name : Wrath.lua
  3. Script Purpose : Priest Generic Direct Damage
  4. Script Author : Zcoretri
  5. Script Date : 15.March.2011
  6. Script Notes :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinDmg, MaxDmg)
  9. -- Instant Damage
  10. dmgAmount = math.random(MinDmg, MaxDmg)
  11. if MaxDmg ~= nil and MinDmg < MaxDmg then
  12. SpellDamage(Target, DmgType, dmgAmount)
  13. else
  14. SpellDamage(Target, DmgType, MinDmg)
  15. end
  16. end