ShiftVision.lua 512 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/ShiftVision.lua
  3. Script Author : neatz09
  4. Script Date : 2020.08.29 02:08:37
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Grants See Invisibility to group members (AE)
  9. -- Grants Infravision to group members (AE)
  10. function cast(Caster, Target)
  11. SetSeeInvis(Target,1)
  12. SetVision(Target, 1)
  13. Say(Caster, "Vision is likely wrong.")
  14. end
  15. function remove(Caster, Target)
  16. SetSeeInvis(Target, 0)
  17. SetVision(Target, 0)
  18. end