summaryrefslogtreecommitdiff
path: root/npc/commands/rate-management.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/rate-management.txt')
-rw-r--r--npc/commands/rate-management.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 0a0e531ec..a0a0ac2dc 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -4,17 +4,17 @@
function expRateReal {
if (is_night())
- return BCONFB_EXPR+BCONFN_EXPR;
+ return $BCONFB_EXPR+$BCONFN_EXPR;
else
- return BCONFB_EXPR+BCONFD_EXPR;
+ return $BCONFB_EXPR+$BCONFD_EXPR;
}
function expRecalc {
.@val=getarg(0);
if (is_night())
- return .@val+BCONFN_EXPR;
+ return .@val+$BCONFN_EXPR;
else
- return .@val+BCONFD_EXPR;
+ return .@val+$BCONFD_EXPR;
}
function rateCleanUp {
@@ -193,17 +193,17 @@ OnInheirtedReload:
function dropRateReal {
if (is_night())
- return BCONFB_DROP+BCONFN_DROP;
+ return $BCONFB_DROP+$BCONFN_DROP;
else
- return BCONFB_DROP+BCONFD_DROP;
+ return $BCONFB_DROP+$BCONFD_DROP;
}
function dropRecalc {
.@val=getarg(0);
if (is_night())
- return .@val+BCONFN_DROP;
+ return .@val+$BCONFN_DROP;
else
- return .@val+BCONFD_DROP;
+ return .@val+$BCONFD_DROP;
}
function rateCleanUp {