diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-17 06:25:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-17 06:25:16 -0300 |
commit | ea4675dc1669621e31bb5a1e573315c2d344ab2d (patch) | |
tree | f8a9aeaf3bad13ed008e7a5b90c51a365a13eb74 /npc | |
parent | bbbb4a68efcc73ddb6520186a65346ed59a4dab5 (diff) | |
download | serverdata-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')
-rw-r--r-- | npc/006-0/core.txt | 2 | ||||
-rw-r--r-- | npc/functions/hub.txt | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/npc/006-0/core.txt b/npc/006-0/core.txt index 166c393df..322023cb6 100644 --- a/npc/006-0/core.txt +++ b/npc/006-0/core.txt @@ -6,7 +6,7 @@ end; OnTouch: - if (is_staff()) goto L_Accept; // FIXME + if (CRAZYPOINTS) goto L_Accept; // FIXME // Reject specialeffect(5000, SELF, getcharid(3)); dispbottom l("The power which lies in Candor rejects your strength."); 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)) |