From aac0217c3918417524f04bc22a9578d0d3ace0aa Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Apr 2019 14:21:39 -0300 Subject: Fix .@h2 on ponderate_avg --- npc/functions/math.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/math.txt') diff --git a/npc/functions/math.txt b/npc/functions/math.txt index a07b46280..b213cfd79 100644 --- a/npc/functions/math.txt +++ b/npc/functions/math.txt @@ -86,7 +86,7 @@ function script ponderate_avg { .@s2=getarg(3); .@h1=.@a1*.@s1; - .@h2=.@a1*.@s1; + .@h2=.@a2*.@s2; .@dd=.@s1+.@s2; return (.@h1+.@h2)/.@dd; -- cgit v1.2.3-60-g2f50