summaryrefslogtreecommitdiff
path: root/npc/items/inc_sc_bonus.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/inc_sc_bonus.txt')
-rw-r--r--npc/items/inc_sc_bonus.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/inc_sc_bonus.txt b/npc/items/inc_sc_bonus.txt
index ac1dd8d9b..92a5ae522 100644
--- a/npc/items/inc_sc_bonus.txt
+++ b/npc/items/inc_sc_bonus.txt
@@ -36,7 +36,7 @@ OnUse:
// If there was effect previously, get ponderate average
if (.@v > 0)
- .@v=((.@bonus*@delay)+(.@v*.@t))/(.@t+@delay);
+ .@v=ponderate_avg(.@bonus, @delay, .@v, .@t);
else
.@v=.@bonus;