diff options
author | HoraK-FDF <horak-fdf@web.de> | 2022-09-11 23:57:32 +0200 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2022-09-11 23:57:32 +0200 |
commit | 360eb0e750b17526e4fc112580f63b45acf4805a (patch) | |
tree | 6b12b85627dcd00a74c138b6ad9111baa5c09560 /world/map/npc | |
parent | d24af69864c3eb15b72fe7c070331980dc732742 (diff) | |
download | serverdata-360eb0e750b17526e4fc112580f63b45acf4805a.tar.gz serverdata-360eb0e750b17526e4fc112580f63b45acf4805a.tar.bz2 serverdata-360eb0e750b17526e4fc112580f63b45acf4805a.tar.xz serverdata-360eb0e750b17526e4fc112580f63b45acf4805a.zip |
disable healing others only on event fix
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/magic/level1-lesser-heal.txt | 8 | ||||
-rw-r--r-- | 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: |