summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-08-02 10:17:38 -0300
committerJesusaves <cpntb1@ymail.com>2018-08-02 10:19:39 -0300
commitfffc0bfb48cb64f3e5a30b420336fae3f4a8328d (patch)
treeb5cc0cbde0cd2df6bb035f8f99de7e7b4b7de6e4
parent91581a92cfff42f0fc9332981e70a4e5ceb51498 (diff)
downloadserverdata-fffc0bfb48cb64f3e5a30b420336fae3f4a8328d.tar.gz
serverdata-fffc0bfb48cb64f3e5a30b420336fae3f4a8328d.tar.bz2
serverdata-fffc0bfb48cb64f3e5a30b420336fae3f4a8328d.tar.xz
serverdata-fffc0bfb48cb64f3e5a30b420336fae3f4a8328d.zip
Preserve season drops on rates managment (@Saulc)
-rw-r--r--npc/commands/rate-management.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 036fab559..d2ef19ec7 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -10,6 +10,7 @@
//setbattleflag("quest_exp_rate", .original_quest_rate);
charcommand("@reloadmobdb"); // this is on purpose (callable without RID)
//charcommand("@reloadquestdb");
+ SeasonReload(1);
}
function remainingTime {
@@ -37,6 +38,7 @@ OnCall:
//setbattleflag("quest_exp_rate", .@new_rate);
charcommand("@reloadmobdb");
//charcommand("@reloadquestdb");
+ 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;
@@ -119,6 +121,7 @@ OnInit:
setbattleflag("item_rate_card", .org_dxn);
setbattleflag("item_rate_card_boss", .org_dxb);
charcommand("@reloadmobdb"); // this is on purpose (callable without RID) - no idea what is the purpose
+ SeasonReload(1);
}
function remainingTime {
@@ -129,8 +132,7 @@ OnInit:
}
OnCall:
- if (!is_gm())
- {
+ if (!is_gm()) {
end;
}
@@ -155,6 +157,7 @@ OnCall:
setbattleflag("item_rate_card", .@new_rate);
setbattleflag("item_rate_card_boss", .@new_rate);
charcommand("@reloadmobdb");
+ 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;