From ea4675dc1669621e31bb5a1e573315c2d344ab2d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 17 Apr 2020 06:25:16 -0300 Subject: Having a Candor Battle Score is enough. Fix bug where score was not saved. --- npc/functions/hub.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'npc/functions') 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)) -- cgit v1.2.3-60-g2f50