From 360eb0e750b17526e4fc112580f63b45acf4805a Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Sun, 11 Sep 2022 23:57:32 +0200 Subject: disable healing others only on event fix --- world/map/npc/magic/level1-lesser-heal.txt | 8 ++++++-- world/map/npc/magic/level2-lay-on-hands.txt | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/world/map/npc/magic/level1-lesser-heal.txt b/world/map/npc/magic/level1-lesser-heal.txt index 7974c8a2..c5be2761 100644 --- a/world/map/npc/magic/level1-lesser-heal.txt +++ b/world/map/npc/magic/level1-lesser-heal.txt @@ -17,6 +17,9 @@ delitem "Lifestone", 1; callfunc "adjust_spellpower"; if (getmap() == "033-1") goto L_SpecialRules6; + goto L_Pay; + +L_Pay: set Sp, Sp - 6; misceffect FX_MAGIC_HEAL_CAST, strcharinfo(0); callfunc "magic_exp"; @@ -47,8 +50,9 @@ L_Mouboo: close; L_SpecialRules6: - if (@target_id == BL_ID) goto L_Continue; - message strcharinfo(0), "You cant heal others on this map!"; + if ($@KIMARR_EVENT < 1) goto L_Pay; + if (@target_id == BL_ID) goto L_Pay; + message strcharinfo(0), "You can't heal others on this map!"; end; OnInit: diff --git a/world/map/npc/magic/level2-lay-on-hands.txt b/world/map/npc/magic/level2-lay-on-hands.txt index 75f20689..9deac893 100644 --- a/world/map/npc/magic/level2-lay-on-hands.txt +++ b/world/map/npc/magic/level2-lay-on-hands.txt @@ -72,7 +72,8 @@ L_SpecialRules5: 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!"; + if ($@KIMARR_EVENT < 1) goto L_Pay; + message strcharinfo(0), "You can't heal others on this map!"; end; OnInit: -- cgit v1.2.3-60-g2f50