diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-05 01:04:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-05 01:04:48 -0300 |
commit | 0d58a9337ae308a944e107e00e7b4ab32c78fb9d (patch) | |
tree | c7c03fa91f156b976f89b92b21ba8a9aa02652b0 /npc/functions/siege.txt | |
parent | 5776e3681fb111ec327b1236adc6fd7b0016b54b (diff) | |
download | serverdata-0d58a9337ae308a944e107e00e7b4ab32c78fb9d.tar.gz serverdata-0d58a9337ae308a944e107e00e7b4ab32c78fb9d.tar.bz2 serverdata-0d58a9337ae308a944e107e00e7b4ab32c78fb9d.tar.xz serverdata-0d58a9337ae308a944e107e00e7b4ab32c78fb9d.zip |
This will be more true to Demure
Diffstat (limited to 'npc/functions/siege.txt')
-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); } |