9
3

SummonShadows.lua 541 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/SummonShadows.lua
  3. Script Author : theFoof
  4. Script Date : 2014.01.17 05:01:09
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Grants invisibility to target
  9. -- Suspends target's movement speed enhancements
  10. -- Dispelled when target takes damage
  11. -- This effect cancels during combat
  12. function precast(Caster, Target)
  13. return not IsInCombat(Caster)
  14. end
  15. function cast(Caster, Target)
  16. Stealth(2)
  17. end
  18. function remove(Caster, Target)
  19. RemoveInvis()
  20. end