SlipAway.lua 659 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Scout/Predator/Assassin/SlipAway.lua
  3. Script Author : neatz09
  4. Script Date : 2019.11.07 07:11:34
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Grants See Invisibility to caster
  10. -- Grants stealth to caster
  11. -- Suspends caster's movement speed enhancements
  12. -- This effect cancels during combat
  13. function precast(Caster)
  14. return not IsInCombat(Caster)
  15. end
  16. function cast(Caster, Target)
  17. Stealth(1, Caster)
  18. Say(Caster, "See Invis Not Implemented yet.")
  19. end
  20. function remove(Caster, Target)
  21. Stealth(0, Caster)
  22. end