SmiteCorruption.lua 703 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : Spells/Priest/Cleric/SmiteCorruption.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.26 03:10:52
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Inflicts 1 divine damage on target instantly and every 4 seconds
  10. -- Decreases WIS of target by 24.3
  11. function cast(Caster, Target, DmgType, MinVal, MaxVal, Stat)
  12. SpellDamage(Target, DmgType, MinVal, MaxVal)
  13. AddSpellBonus(Target, 3, Stat)
  14. end
  15. function tick(Caster, Target, DmgType, MinVal, MaxVal)
  16. SpellDamage(Target, DmgType, MinVal, MaxVal)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end