summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-lay-on-hands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level2-lay-on-hands.txt')
-rw-r--r--world/map/npc/magic/level2-lay-on-hands.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-lay-on-hands.txt b/world/map/npc/magic/level2-lay-on-hands.txt
index 29d9292b..75f20689 100644
--- a/world/map/npc/magic/level2-lay-on-hands.txt
+++ b/world/map/npc/magic/level2-lay-on-hands.txt
@@ -12,6 +12,7 @@
callfunc "adjust_spellpower";
if (getmap() == "099-4") goto L_SpecialRules4;
if (getmap() == "099-5") goto L_SpecialRules5;
+ if (getmap() == "033-1") goto L_SpecialRules6;
if (distance(BL_ID, @target_id) >= (((sqrt(@spellpower)*12)+@spellpower)/100)+2) end;
if (sc_check(SC_HALT_REGENERATE,@target_id)) end;
if (getequipid(equip_head, @args$) == 888) end; // magic gm top hat
@@ -70,6 +71,9 @@ L_SpecialRules5:
if (getequipid(equip_head, @args$) == 888) end; // magic gm top hat
set @needed, get(MaxHp, @target_id) - get(Hp, @target_id);
goto L_Pay;
+L_SpecialRules6:
+ message strcharinfo(0), "You cant heal others on this map!";
+ end;
OnInit:
set .school, SKILL_MAGIC_LIFE;