From c4e7889d0177be4df132b49b7ea980c65f5742b8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 15 Jul 2022 19:55:41 -0300 Subject: Minor tweaks to siege, non-critical --- npc/functions/mkbot.txt | 6 +++--- 1 file 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 -- cgit v1.2.3-60-g2f50