VeiloftheUnseen.lua 613 B

123456789101112131415161718192021222324252627
  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. -- Say(Caster, "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