summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-lesser-heal.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level1-lesser-heal.txt')
-rw-r--r--world/map/npc/magic/level1-lesser-heal.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/world/map/npc/magic/level1-lesser-heal.txt b/world/map/npc/magic/level1-lesser-heal.txt
index b2cd4741..7974c8a2 100644
--- a/world/map/npc/magic/level1-lesser-heal.txt
+++ b/world/map/npc/magic/level1-lesser-heal.txt
@@ -16,6 +16,7 @@
addtimer 500, "Magic Timer::OnClear"; // set the new debuff
delitem "Lifestone", 1;
callfunc "adjust_spellpower";
+ if (getmap() == "033-1") goto L_SpecialRules6;
set Sp, Sp - 6;
misceffect FX_MAGIC_HEAL_CAST, strcharinfo(0);
callfunc "magic_exp";
@@ -45,6 +46,11 @@ L_Mouboo:
mes "Magic : ##3##BThis spell has no effect on animals.";
close;
+L_SpecialRules6:
+ if (@target_id == BL_ID) goto L_Continue;
+ message strcharinfo(0), "You cant heal others on this map!";
+ end;
+
OnInit:
set .school, SKILL_MAGIC_LIFE;
set .invocation$, chr(MAGIC_SYMBOL) + "lum"; // used in npcs that refer to this spell