From 0d58a9337ae308a944e107e00e7b4ab32c78fb9d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 5 May 2019 01:04:48 -0300 Subject: This will be more true to Demure --- npc/functions/siege.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/functions/siege.txt') diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index dd94e1b3f..b61b2d3b6 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -50,9 +50,9 @@ function script siege_calcdiff { function script siege_push { .@mi=getarg(0); .@lv=getarg(1,0); - .@var=getarg(2,5); // Old Default: 15 + .@var=getarg(2,10); // Old Default: 15 - if ( is_between(.@lv-.@var, .@lv+.@var, strmobinfo(3, .@mi)) ) { + if ( is_between(.@lv-.@var, .@lv+(.@var/2), strmobinfo(3, .@mi)) ) { //debugmes "Monster %s (%d) level %d ~= %d", strmobinfo(1, .@mi), .@mi, strmobinfo(3, .@mi), .@lv; array_push($@SIEGE_TMPMOBS, .@mi); } -- cgit v1.2.3-60-g2f50