9
3

Absolution.lua 501 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/Warlock/Absolution.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.07 07:03:44
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  9. -- Inflicts 305 - 566 disease damage on target encounter
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  12. else
  13. SpellDamage(Target, DmgType, MinVal)
  14. end
  15. end