瀏覽代碼

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

Image 3 年之前
父節點
當前提交
8975296942
共有 1 個文件被更改,包括 2 次插入2 次删除
  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