diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-17 19:53:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-17 19:53:22 -0300 |
commit | c2d519223d879e6b1b2743c572262b6cb94245f0 (patch) | |
tree | 63f8467f7048bbe35c99b8c422711eb06dc06dce /npc/functions | |
parent | 0977a324a4426fb6231afdd0039ab6f5325d07f7 (diff) | |
download | serverdata-c2d519223d879e6b1b2743c572262b6cb94245f0.tar.gz serverdata-c2d519223d879e6b1b2743c572262b6cb94245f0.tar.bz2 serverdata-c2d519223d879e6b1b2743c572262b6cb94245f0.tar.xz serverdata-c2d519223d879e6b1b2743c572262b6cb94245f0.zip |
Make sieges less frequent (but still a lot of sieges)
Minimum 3 players online to siege begin.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/gmbot.txt | 7 |
1 files changed, 4 insertions, 3 deletions
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; |