9
3

AdmonishingSmite.lua 581 B

123456789101112131415161718192021
  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. -- Inflicts 25 - 31 divine damage on target
  9. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  10. Say(Caster, "Resistability and hostile dispell should be hardcoded.. not implemented.")
  11. if not IsEpic() then
  12. AddControlEffect(Target, 3)
  13. end
  14. SpellDamage(Target, DmgType, MinVal, MaxVal)
  15. end
  16. function remove(Caster, Target)
  17. RemoveControlEffect(Target, 3)
  18. end