Browse Source

Added See Invis back, it got reverted by devnoob's update

Image 3 years ago
parent
commit
8975296942
1 changed files with 2 additions and 2 deletions
  1. 2 2
      server/Spells/Mage/SeeInvisibility.lua

+ 2 - 2
server/Spells/Mage/SeeInvisibility.lua

@@ -8,10 +8,9 @@
 
 function cast(Caster, Target)
     -- code to cast the spell
-    Say(Caster, "Whoops! Guess this is not implemented yet!")
-
 -- Info from spell_display_effects (remove from script when done)
 -- Grants See Invisibility to target
+	SetSeeInvis(Target, 1)
 
 end
 
@@ -21,5 +20,6 @@ end
 
 function remove(Caster, Target)
     -- code to remove the spell
+	SetSeeInvis(Target, 0)
 end