summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/rate-management.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 52757227f..8d5daa2e7 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -12,6 +12,7 @@
charcommand("@reloadmobdb"); // this is on purpose (callable without RID)
//charcommand("@reloadquestdb");
SeasonReload(1);
+ channelmes("#world", "The EXP Rate Bonus is now over.");
}
function remainingTime {
@@ -42,7 +43,10 @@ OnCall:
SeasonReload(1);
initnpctimer; // start counting
- announce strcharinfo(0)+" increased experience rate to "+str(.@new_rate)+"%. It will only last "+str(FuzzyTime(time_from_hours(.max_hours), 2, 2))+"!", bc_all;
+ .@msg$=strcharinfo(0)+" increased experience rate to "+str(.@new_rate)+"%. It will only last "+str(FuzzyTime(time_from_hours(.max_hours), 2, 2))+"!";
+
+ announce .@msg$, bc_all;
+ channelmes("#world", .@msg$);
//dispbottom l("You successfully set the exp rate to @@%. It will reset to @@% (default value) in @@.",
// .@new_rate, .original_exp_rate, FuzzyTime(time_from_hours(.max_hours), 2, 2));
@@ -132,6 +136,7 @@ OnReload:
setbattleflag("item_rate_card_boss", 100);
charcommand("@reloadmobdb"); // this is on purpose (callable without RID) - no idea what is the purpose
SeasonReload(1);
+ channelmes("#world", "The Drop Rate Bonus is now over.");
}
function remainingTime {
@@ -170,7 +175,10 @@ OnCall:
SeasonReload(1);
initnpctimer; // start counting
- announce strcharinfo(0)+" increased drop rates to "+str(.@new_rate)+"%. It will only last "+str(FuzzyTime(time_from_hours(.max_hours), 2, 2))+"!", bc_all;
+ .@msg$=strcharinfo(0)+" increased drop rates to "+str(.@new_rate)+"%. It will only last "+str(FuzzyTime(time_from_hours(.max_hours), 2, 2))+"!";
+
+ announce .@msg$, bc_all;
+ channelmes("#world", .@msg$);
//dispbottom l("You successfully set the drop rate to @@%. It will reset to @@% (default value) in @@.",
// .@new_rate, .org_dcn, FuzzyTime(time_from_hours(.max_hours), 2, 2));