From c2d519223d879e6b1b2743c572262b6cb94245f0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 17 Apr 2019 19:53:22 -0300 Subject: Make sieges less frequent (but still a lot of sieges) Minimum 3 players online to siege begin. --- npc/functions/gmbot.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc/functions/gmbot.txt') diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt index 778796ce2..83a422a79 100644 --- a/npc/functions/gmbot.txt +++ b/npc/functions/gmbot.txt @@ -102,8 +102,8 @@ OnTimer90000: end; } - // Siege events (req. 40 aggro, and 70% chances to begin) - if ($@MK_AGGRO >= 40 && rand(0,100) < 70) { + // Siege events (req. 80 aggro, 3 users, and 70% chances to begin) + if ($@MK_AGGRO >= 80 && .users >= 3 && rand(0,100) < 70) { // Tulimshar if (.mp$ ~= "003-*") { announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc; @@ -119,7 +119,8 @@ OnTimer90000: } // If a player is nearby, MK might randomly make an event for said player - if (.nearby > 1 && $@MK_AGGRO >= rand(0,100)){ + // Of course, this is unlikely, unless we have too few players + if (.nearby > 1 && $@MK_AGGRO >= 120){ // We should decide event kind, but that's NYI announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc; -- cgit v1.2.3-70-g09d2