summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFreeyorp <Freeyorp101@NOSPAM@hotmail.com>2009-07-15 11:33:54 +1200
committerJared Adams <jaxad0127@gmail.com>2009-07-15 22:04:21 -0600
commitaab2ba9861cf700d44313520314dab357da9e479 (patch)
tree6b5fa3603df7f34fde3d3bdabf0d397e45810a6d /conf
parentd04e51ec1bec6e85a046e985ae376cb67a3e6113 (diff)
downloadserverdata-aab2ba9861cf700d44313520314dab357da9e479.tar.gz
serverdata-aab2ba9861cf700d44313520314dab357da9e479.tar.bz2
serverdata-aab2ba9861cf700d44313520314dab357da9e479.tar.xz
serverdata-aab2ba9861cf700d44313520314dab357da9e479.zip
Update magic.conf.template to use the new is_gm_invisible function.
detect-players should no longer detect invisible GMs.
Diffstat (limited to 'conf')
-rw-r--r--conf/magic.conf.template4
1 files changed, 2 insertions, 2 deletions
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*"