summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/mkbot.txt6
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