SeeInvisibility.lua 596 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Mage/SeeInvisibility.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:42
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- code to cast the spell
  10. -- Info from spell_display_effects (remove from script when done)
  11. -- Grants See Invisibility to target
  12. SetSeeInvis(Target, 1)
  13. end
  14. function tick(Caster, Target)
  15. -- code to process each call_frequency (tick) set in spell_tiers
  16. end
  17. function remove(Caster, Target)
  18. -- code to remove the spell
  19. SetSeeInvis(Target, 0)
  20. end