diff options
-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; |