Frostbite.lua 726 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Priest/Druid/Warden/Frostbite.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.15 05:10:17
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal, BonusAmt)
  9. -- Inflicts 193 - 236 cold damage on target instantly and every 4 seconds
  10. SpellDamage(Target, DmgType, MinVal, MaxVal)
  11. -- Decreases Mitigation of target vs elemental damage by 1048
  12. AddSpellBonus(Target, 201, BonusAmt)
  13. end
  14. function tick(Caster, Target, DmgType, MinVal, MaxVal)
  15. -- Inflicts 193 - 236 cold damage on target instantly and every 4 seconds
  16. SpellDamage(Target, DmgType, MinVal, MaxVal)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end