summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-17 06:25:16 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-17 06:25:16 -0300
commitea4675dc1669621e31bb5a1e573315c2d344ab2d (patch)
treef8a9aeaf3bad13ed008e7a5b90c51a365a13eb74 /npc/functions/hub.txt
parentbbbb4a68efcc73ddb6520186a65346ed59a4dab5 (diff)
downloadserverdata-ea4675dc1669621e31bb5a1e573315c2d344ab2d.tar.gz
serverdata-ea4675dc1669621e31bb5a1e573315c2d344ab2d.tar.bz2
serverdata-ea4675dc1669621e31bb5a1e573315c2d344ab2d.tar.xz
serverdata-ea4675dc1669621e31bb5a1e573315c2d344ab2d.zip
Having a Candor Battle Score is enough.r11.4_20200417
Fix bug where score was not saved.
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index e38a072e3..333ac14f4 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -75,6 +75,14 @@ function script HUB_Logout {
deltimer(instance_npcname("Arnea#003-13")+"::OnVerify");
}
}
+ // Died or logged out at Candor Battle
+ if (.@mapa$ == "006-1") {
+ if (@crazypoints > CRAZYPOINTS) {
+ CRAZYPOINTS=@crazypoints;
+ dispbottom l("Crazyfefe Cave: New Highscore: @@ points", CRAZYPOINTS);
+ @crazypoints=0;
+ }
+ }
// Died or logged during Bandit Lord fight
if (.@mapa$ == "015-2") {
if (isin("015-2", 228, 227, 282, 280))