diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-21 21:00:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-21 21:00:10 -0300 |
commit | e673a154cf470d1dae05b4474324daa042d48e8f (patch) | |
tree | 04203b19ec124f25ae2e02751fcf79306de79302 /npc | |
parent | 923ab97088750d49f50aca1f33230ad79affb995 (diff) | |
download | serverdata-e673a154cf470d1dae05b4474324daa042d48e8f.tar.gz serverdata-e673a154cf470d1dae05b4474324daa042d48e8f.tar.bz2 serverdata-e673a154cf470d1dae05b4474324daa042d48e8f.tar.xz serverdata-e673a154cf470d1dae05b4474324daa042d48e8f.zip |
Modify how exp/drop rate bonuses are applied on weather change.
Objective: Have day/night bonuses persist GM modifications
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/rate-management.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index a8df73380..a777bdc2b 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -4,9 +4,9 @@ function expRateReal { if (is_night()) - return BCONFN_EXPR; + return BCONFB_EXPR+BCONFN_EXPR; else - return BCONFD_EXPR; + return BCONFB_EXPR+BCONFD_EXPR; } function rateCleanUp { @@ -177,9 +177,9 @@ OnReload: function dropRateReal { if (is_night()) - return BCONFN_DROP; + return BCONFB_DROP+BCONFN_DROP; else - return BCONFD_DROP; + return BCONFB_DROP+BCONFD_DROP; } function rateCleanUp { |