summaryrefslogtreecommitdiff
path: root/npc/commands/rate-management.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-29 23:03:57 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-29 23:03:57 -0200
commit1734b94c14b1a821e24a037fe67fe193d0c6e4a1 (patch)
tree7a22367c7c359357f02d3eac345fd79b5ab11c83 /npc/commands/rate-management.txt
parent2740d16bc2bc84af2b3b50218eda47594ebe4a5a (diff)
downloadserverdata-1734b94c14b1a821e24a037fe67fe193d0c6e4a1.tar.gz
serverdata-1734b94c14b1a821e24a037fe67fe193d0c6e4a1.tar.bz2
serverdata-1734b94c14b1a821e24a037fe67fe193d0c6e4a1.tar.xz
serverdata-1734b94c14b1a821e24a037fe67fe193d0c6e4a1.zip
This new script version is currently in vigor.
```@unloadnpcfile npc/commands/rate-management.txt ; @loadnpc npc/commands/rate-management.txt ```
Diffstat (limited to 'npc/commands/rate-management.txt')
-rw-r--r--npc/commands/rate-management.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 46edb426a..52757227f 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -226,7 +226,7 @@ OnInit:
.org_deb = 100;//getbattleflag("item_rate_equip_boss");
.org_dxn = 100;//getbattleflag("item_rate_card");
.org_dxb = 100;//getbattleflag("item_rate_card_boss");
- .current_rate = .org_dcn;
+ .current_rate = 100;
// XXX: maybe in the future:
//.original_job_rate = getbattleflag("base_job_rate");
@@ -248,6 +248,7 @@ OnReload:
setbattleflag("item_rate_card_boss", .@new_rate);
charcommand("@reloadmobdb");
SeasonReload(1);
+ debugmes("Drop rates were reloaded with success.");
end;
}