SummonShadows.lua 603 B

1234567891011121314151617181920212223242526
  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. Say(Caster, "Movement reduction not yet implemented.")
  18. end
  19. function remove(Caster, Target)
  20. RemoveInvis()
  21. end