9
3

AdmonishingSmite.lua 730 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Cleric/AdmonishingSmite.lua
  3. Script Author : neatz09
  4. Script Date : 2019.08.05 07:08:53
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Inflicts 25 - 31 divine damage on target
  10. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  11. if MaxVal ~= nil and MinVal < MaxVal then
  12. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  13. else
  14. SpellDamage(Target, DmgType, MinVal)
  15. end
  16. end
  17. -- Dazes target
  18. -- If Target is not Epic
  19. -- Dispelled when target receives hostile action
  20. -- Dispelled when target takes damage
  21. -- Resistibility increases against targets higher than level 29.