From aab2ba9861cf700d44313520314dab357da9e479 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Wed, 15 Jul 2009 11:33:54 +1200 Subject: Update magic.conf.template to use the new is_gm_invisible function. detect-players should no longer detect invisible GMs. --- conf/magic.conf.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf/magic.conf.template') diff --git a/conf/magic.conf.template b/conf/magic.conf.template index 40105567..efdee497 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -862,7 +862,8 @@ SPELL detect-players : "#G10" = message = ""; FOREACH PC target IN rbox(location(caster), spellpower / 2) DO IF ((target <> caster) - && not (running_status_update(pc(target), SC_HIDE))) + && not (running_status_update(pc(target), SC_HIDE)) + && not (is_gm_invisible(target))) THEN (IF message <> "" THEN message = message + ", "; message = message + name_of (target); @@ -1285,7 +1286,6 @@ LOCAL SPELL mouboo-smell : "#s" = message(p, "You notice a strange smell all around you."); - PROCEDURE hug_tree(target) = IF (target = "" || target = "tree" || target = "tree*" -- cgit v1.2.3-60-g2f50