From d4d21ef1af981a5292f99e6b459237cbcc1fac25 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 14 Feb 2009 21:35:01 +0000 Subject: Fix #A13 to not send to message when cast on self --- conf/magic.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/magic.conf.template b/conf/magic.conf.template index 9848d3d4..9dee5543 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -836,7 +836,7 @@ SPELL hide (target : PC) : "#A13" = status_change(target, SC_HIDE, 0, 0, 0, 0, 5000 + (spellpower * 2500)); CALL gain_xp(2); message(target, "You are hidden!"); - message(caster, "You hid someone!"); + IF (caster <> target) THEN message(caster, "You hid someone!"); ATEND message(target, "It's over!"); #-------------------------------------------------------------------------------- -- cgit v1.2.3-60-g2f50