summaryrefslogtreecommitdiff
path: root/conf/magic.conf.template
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-29 15:53:05 -0700
committerFate <fate-tmw@googlemail.com>2009-01-29 15:53:05 -0700
commit232f1fe02a2407aa628af550dd7a247ef62f70dc (patch)
treeeef087dc8bd81ee3c8f0d039c194901354bbea0b /conf/magic.conf.template
parentc7283150f0b331508b62262be149d91ccf5f0fce (diff)
downloadserverdata-232f1fe02a2407aa628af550dd7a247ef62f70dc.tar.gz
serverdata-232f1fe02a2407aa628af550dd7a247ef62f70dc.tar.bz2
serverdata-232f1fe02a2407aa628af550dd7a247ef62f70dc.tar.xz
serverdata-232f1fe02a2407aa628af550dd7a247ef62f70dc.zip
lay-on-hands cannot be cast on the caster again-- powered by the caster's HP, after all.
Diffstat (limited to 'conf/magic.conf.template')
-rw-r--r--conf/magic.conf.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 69b6c019..f1690473 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -433,6 +433,7 @@ SPELL lay-on-hands (target : STRING) : "#L10" =
&& not (running_status_update(pc(target), SC_HALT_REGENERATE))
))
=> EFFECT CALL adjust_spellpower(school);
+ IF (pc (target) == caster) THEN ABORT;
IF failed(pc(target))
THEN (IF ((target = "mouboo" || target = "Mouboo")
&& rdistance(location(caster), location(npc("Mouboo"))) < 2 + (spellpower / 100))