StingingSwarm.lua 748 B

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