9
3

Blink.lua 602 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Blink.lua
  3. Script Author : LordPazuzu
  4. Script Date : 11/29/2022
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Applies Blink on termination.
  10. -- Teleports target to a random location within 10 meters.
  11. -- Decreases Threat to targets in Area of Effect by 554 - 677
  12. function cast(Caster, Target, HateLow, HateHigh)
  13. Hate = math.random(HateHigh, HateLow)
  14. AddHate(Caster, Target, Hate, 1)
  15. CastSpell(Caster, 5502, GetSpellTier())
  16. end