9
3

VeiloftheUnseen.lua 566 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/VeiloftheUnseen.lua
  3. Script Author : theFoof
  4. Script Date : 2014.1.16
  5. Script Purpose :
  6. :
  7. --]]
  8. function precast(Caster)
  9. return not IsInCombat(Caster)
  10. end
  11. function cast(Caster, Target)
  12. -- Prevents AOE (except when direct) -- need support for this
  13. -- Grants invisibility to target
  14. -- Suspends target's movement speed enhancements
  15. -- Dispelled when target takes damage
  16. -- This effect cancels during combat
  17. Stealth(2)
  18. end
  19. function remove(Caster, Target)
  20. RemoveInvis()
  21. end