summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-01-20 13:09:36 -0500
committergumi <git@gumi.ca>2019-01-20 13:14:39 -0500
commit1ae642d89182776959fd0f3e104356e6aa284e93 (patch)
treef322f5e5afdad4b3896ed013d555a64eb4f0f1f5 /world/map/npc
parent47fa815eddd8fd335ada9fb165c491078a726981 (diff)
downloadserverdata-1ae642d89182776959fd0f3e104356e6aa284e93.tar.gz
serverdata-1ae642d89182776959fd0f3e104356e6aa284e93.tar.bz2
serverdata-1ae642d89182776959fd0f3e104356e6aa284e93.tar.xz
serverdata-1ae642d89182776959fd0f3e104356e6aa284e93.zip
expand the fluffy kill leaderboard
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/033-1/kimarr.txt6
-rw-r--r--world/map/npc/magic/level2-lay-on-hands.txt2
2 files changed, 7 insertions, 1 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt
index cbe2b289..a0da1a9f 100644
--- a/world/map/npc/033-1/kimarr.txt
+++ b/world/map/npc/033-1/kimarr.txt
@@ -422,6 +422,12 @@ L_ShowNextRecord:
goto L_Close;
mes (@loop + 1) + " - " + $Record_Fluffy_Name$[@loop] + " - " + $Record_Fluffy_Kills[@loop] + " Fluffies killed at " + $Record_Fluffy_Date$[@loop];
set @loop, @loop + 1;
+ if (MAX_HIGH_SCORES > 4 && (@loop % 5) == 0 && $Record_Fluffy_Kills[@loop] > 0)
+ goto L_NextShowNextRecord;
+ goto L_ShowNextRecord;
+
+L_NextShowNextRecord:
+ next;
goto L_ShowNextRecord;
L_Close:
diff --git a/world/map/npc/magic/level2-lay-on-hands.txt b/world/map/npc/magic/level2-lay-on-hands.txt
index de959c96..819f0ea2 100644
--- a/world/map/npc/magic/level2-lay-on-hands.txt
+++ b/world/map/npc/magic/level2-lay-on-hands.txt
@@ -43,7 +43,7 @@ L_Pay:
set .@thp, get(Hp, @target_id);
if (.@thp < 1) end;
- set Hp, .@thp + @heal_value, @target_id;
+ set Hp, max(.@thp, .@thp + @heal_value), @target_id;
end;
L_Mouboo: