GreaterSmite.lua 580 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Priest/Cleric/GreaterSmite.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.30 01:11:56
  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