diff options
-rw-r--r-- | npc/functions/siege.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |