9
3

ProvokingSwarm.lua 681 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Priest/Druid/ProvokingSwarm.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.02 06:01:10
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 14 - 17 divine damage on target instantly and every 3 seconds
  9. -- Decreases Defense of target by 4.6
  10. function cast(Caster, Target, DmgType, MinVal, MaxVal, SkillAmt)
  11. SpellDamage(Target, DmgType, MinVal, MaxVal)
  12. AddSkillBonus(Target, GetSkillIDByName("Defense"), SkillAmt)
  13. end
  14. function tick(Caster, Target, DmgType, MinVal, MaxVal, SkillAmt)
  15. SpellDamage(Target, DmgType, MinVal, MaxVal)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSkillBonus(Target)
  19. end