summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-22 15:57:45 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-22 15:57:45 -0300
commit973617e2bb8b5d065ef59dd17afc3830bf498572 (patch)
tree27f2cb8d3c1cbb9aca5fb1d345453b4a343adf28 /npc/commands
parent692a195e2e973f7ee81fbb4848c85198d74face5 (diff)
downloadserverdata-973617e2bb8b5d065ef59dd17afc3830bf498572.tar.gz
serverdata-973617e2bb8b5d065ef59dd17afc3830bf498572.tar.bz2
serverdata-973617e2bb8b5d065ef59dd17afc3830bf498572.tar.xz
serverdata-973617e2bb8b5d065ef59dd17afc3830bf498572.zip
A lot of debug markers and rework at logic.
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/rate-management.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 51a8e2d78..0a0e531ec 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -176,6 +176,14 @@ OnReload:
//charcommand("@reloadmobdb");
//SeasonReload(1); // TODO FIXME: We are casting this twice.
end;
+
+OnInheirtedReload:
+ debugmes "[EXP] Inheir Reload";
+ .@new_rate = expRecalc(.current_rate);
+ setbattleflag("base_exp_rate", .@new_rate);
+ setbattleflag("job_exp_rate", .@new_rate);
+ donpcevent("@droprate::OnReload");
+ end;
}