From 9c6dfc56fe91cdd4449b4c29837d40a8b8b35cb0 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Wed, 28 Sep 2022 22:09:58 +0200 Subject: gmlog for rank erase and kill summons at start of the hunt --- world/map/npc/033-1/kimarr.txt | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index c3998e6a..5552f4c4 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -249,6 +249,11 @@ L_Game: set $@Fluffy_Time, 180; set $@Fluffy_Min, 1 + (BaseLevel*7)/10; + // since Mana Guardian and Mana Tyrant have such an long cooldown until they appear you can summon them + // warp to Kimarr and the end script does not kill them they spawn some seconds after and can help in next battle. + // so a kill all here is needed. + if ($@KIMARR_EVENT) killmonster "033-1", "All"; + warp "033-1", 79, 34; initnpctimer; goto L_Close; @@ -666,12 +671,13 @@ L_Erase: mes "\"1 - " + @max_rank + "\""; input @player_rank; if (@player_rank < 1 || @player_rank > @max_rank) goto L_WrongRank; + set @tmp_rank$, @player_rank + " - " + $Record_CRC_Fluffy_Name$[@player_rank-1] + " - " + $Record_CRC_Fluffy_Kills[@player_rank-1] + " Fluffies killed at " + $Record_CRC_Fluffy_Date$[@player_rank-1]; mes "\"You selected:\""; - mes @player_rank + " - " + $Record_CRC_Fluffy_Name$[@player_rank-1] + " - " + $Record_CRC_Fluffy_Kills[@player_rank-1] + " Fluffies killed at " + $Record_CRC_Fluffy_Date$[@player_rank-1]; + mes @tmp_rank$; mes "Are you sure to erase this rank?"; menu - "Yes, do it!",L_EraseRank, - "No.",L_Close; + "No.",L_Close, + "Yes, do it!",L_EraseRank; L_EraseRank: if ($@Fluffy_Hunting) goto L_HuntRunning; @@ -692,6 +698,7 @@ L_EraseLast: set $Record_CRC_Fluffy_Kills[@max_rank-1], 0; set $Record_CRC_Fluffy_Date$[@max_rank-1], ""; mes "\"Rank erased!\""; + gmlog strcharinfo(0) + " wiped a rank from the Fluffy Hunt Event Scoreboards: " + @tmp_rank$; next; goto L_Close; @@ -717,6 +724,7 @@ L_Close: set @loop, 0; set @player_rank, 0; set @max_rank, 0; + set @tmp_rank$, ""; goto L_Menu; @@ -724,8 +732,8 @@ L_Reset: if (GM < G_EVENT) goto L_Decline; mes "Really reset the event scoreboards?"; menu - "Yes, do it!",L_ResetYes, - "No.",L_Menu; + "No.",L_Menu, + "Yes, do it!",L_ResetYes; L_ResetYes: cleararray $Record_CRC_Fluffy_Kills, 0, MAX_HIGH_SCORES; -- cgit v1.2.3-60-g2f50