IceComet.lua 668 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/Wizard/IceComet.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.08 03:10:40
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 2837 - 5269 cold damage on target
  9. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  10. SpellDamage(Target, DmgType, MinVal, MaxVal)
  11. -- Applies Knockdown on termination. Lasts for 1.5 seconds.
  12. -- Throws target back
  13. -- Blurs vision of target
  14. -- Stuns target
  15. -- Does not affect Epic targets
  16. if not IsEpic(Target) then
  17. Knockback(Caster, Target, 4000)
  18. BlurVision(Target, 1.0)
  19. AddSpellTimer(1500, "RemoveKnockback")
  20. end
  21. end