diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-07-15 19:55:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-07-15 19:55:41 -0300 |
commit | c4e7889d0177be4df132b49b7ea980c65f5742b8 (patch) | |
tree | c2a464d0cf1dcde2c3de21e0badacf72dc2f8f7d /npc/functions/mkbot.txt | |
parent | 86b380d56fe8af83e7131840781aa41e89dc694a (diff) | |
download | serverdata-c4e7889d0177be4df132b49b7ea980c65f5742b8.tar.gz serverdata-c4e7889d0177be4df132b49b7ea980c65f5742b8.tar.bz2 serverdata-c4e7889d0177be4df132b49b7ea980c65f5742b8.tar.xz serverdata-c4e7889d0177be4df132b49b7ea980c65f5742b8.zip |
Minor tweaks to siege, non-critical
Diffstat (limited to 'npc/functions/mkbot.txt')
-rw-r--r-- | npc/functions/mkbot.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/mkbot.txt b/npc/functions/mkbot.txt index 1ea3f2ba8..3074ade2b 100644 --- a/npc/functions/mkbot.txt +++ b/npc/functions/mkbot.txt @@ -139,7 +139,7 @@ OnTimer90000: } // Monster King will not warp around for sightseeing if he is threatened - if ($GAME_STORYLINE > 2 && $@MK_AGGRO < 150) { + if ($GAME_STORYLINE > 2 && $@MK_AGGRO < 250) { .mp$="boss";.@x=45;.@y=45; } @@ -210,9 +210,9 @@ OnTimer90000: getmapxy(.@m$, .@x, .@y, UNITTYPE_MOB, $@MK); // Spawn stuff - areamonster(.@m$, .@x-20, .@y-20, .@x+20, .@y+20, "Monster", ManaGhost, ($@MK_AGGRO/20)+.nearby, "Monster King::OnSlaveDie"); + areamonster(.@m$, .@x-20, .@y-20, .@x+20, .@y+20, "Monster", ManaGhost, max(60, ($@MK_AGGRO/20))+.nearby, "Monster King::OnSlaveDie"); //$@MK_AGGRO=($@MK_AGGRO*$GAME_STORYLINE)/5; - $@MK_AGGRO-=80; // Reduce aggro, but do not deplete it + $@MK_AGGRO-=rand2(30, 80); // Reduce aggro, but do not deplete it } // Maybe, just maybe, game storyline must be updated here |