summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
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;
}