diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-09-30 20:01:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-09-30 20:01:15 -0300 |
commit | 29df0cb4c8bba89cc608739e00590afdc25ec64a (patch) | |
tree | 0f48e4dffb2e1c334947666f40b7812f15a893bf | |
parent | 498d7b5a40892cab4138dfd83b331ebff9bf47b7 (diff) | |
download | classic-serverdata-29df0cb4c8bba89cc608739e00590afdc25ec64a.tar.gz classic-serverdata-29df0cb4c8bba89cc608739e00590afdc25ec64a.tar.bz2 classic-serverdata-29df0cb4c8bba89cc608739e00590afdc25ec64a.tar.xz classic-serverdata-29df0cb4c8bba89cc608739e00590afdc25ec64a.zip |
Prevent people with GM < 50 from accidentally wiping Kimarr's event scoreboard.
Any person with enough clearance to use Fluffy Debug can enable/disable it, though.
-rw-r--r-- | world/map/npc/033-1/kimarr.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index 76451891..8a16ab93 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -563,9 +563,15 @@ L_Enable: return; L_Reset: + if (GM < G_EVENT) goto L_Decline; cleararray $Record_CRC_Fluffy_Kills, 0, MAX_HIGH_SCORES; cleararray $Record_CRC_Fluffy_Name$, "", MAX_HIGH_SCORES; cleararray $Record_CRC_Fluffy_Date$, "", MAX_HIGH_SCORES; gmlog strcharinfo(0) + " wiped Fluffy Hunt Event Scoreboards."; return; + +L_Decline: + mes "[Numa]"; + mes "I'm sorry, but your GM level does not authorizes you to perform this operation."; + return; } |