diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-01-26 03:18:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-01-26 03:18:01 -0300 |
commit | 9ac27171a57f2a1730ab595379a6fff386192b74 (patch) | |
tree | 10a2c5f6e499379fedb533de14441c7c89750a47 /npc/001-1 | |
parent | b10073109bc138c64402daac0d1453494396cb37 (diff) | |
download | serverdata-9ac27171a57f2a1730ab595379a6fff386192b74.tar.gz serverdata-9ac27171a57f2a1730ab595379a6fff386192b74.tar.bz2 serverdata-9ac27171a57f2a1730ab595379a6fff386192b74.tar.xz serverdata-9ac27171a57f2a1730ab595379a6fff386192b74.zip |
Better have a prompt warning if someone messes with Aeros Coins drop rate.
Messing idly with it can and will warrant any staff member dismissal from GM position.
Diffstat (limited to 'npc/001-1')
-rw-r--r-- | npc/001-1/eventmaster.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt index 247eebb3b..d8f92a67f 100644 --- a/npc/001-1/eventmaster.txt +++ b/npc/001-1/eventmaster.txt @@ -668,9 +668,12 @@ L_Rate: mes ""; mes "Current drop rate: " + str($coinsrate); mes "Insert drop rate (from 0 to 10000, capped at 5000 or 50%). Use -1 to disable."; + .@old = $coinsrate; input $coinsrate; if ($coinsrate > 5000) $coinsrate=5000; + if ($coinsrate != .@old) + consolewarn("Aeros Coins drop rate changed - highlight %s - by %s (%d) from %d to %d", "<@&411247967064948737>", strcharinfo(0), getcharid(3), .@old, $coinsrate); mes ""; mes "Ratio adjusted."; next; |