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/012-1 | |
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/012-1')
-rw-r--r-- | npc/012-1/guards.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index be93bc603..097b229b0 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -645,7 +645,7 @@ OnMKSiege: addmapmask "012-3", MASK_MATTACK; changemusic "012-1", any("mythica.ogg", "eric_matyas_ghouls.ogg", "misuse.ogg", "Arabesque.ogg"); disablenpc("Mana Stone"); - $@SIEGE_HURNS=($@MK_AGGRO/30); // Each 30 aggro raises difficulty in 1 + $@SIEGE_TULIM=($@MK_AGGRO/45); // Each 45 aggro raises difficulty in 1 pvpon("012-1"); pvpon("012-3"); announce(("##1WARNING! WARNING! Siege starting at Hurnscald!!"), bc_all); @@ -690,20 +690,20 @@ OnTimer15000: end; OnTimer60000: - if ($@SIEGE_HURNS == 1) { - mapannounce("012-1", "##1The Monster Lieutenant arrived!", bc_map); - areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, ("Monster Lieutenant"), 1077, 1, "#HurnscaldSiege::OnLieutenantDeath"); - } areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, ("Black Scorpion"), BlackScorpion, 3, "#HurnscaldSiege::OnBlackScorpion2Death"); areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, strmobinfo(1, GreenSlime), 1085, 10+$@SIEGE_HURNS, "#HurnscaldSiege::OnGreenSlimeDeath"); areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, strmobinfo(1, CandiedSlime), 1089, 1+$@SIEGE_HURNS, "#HurnscaldSiege::OnCandiedSlimeDeath"); end; OnTimer120000: - if ($@SIEGE_HURNS == 5) { + if ($@SIEGE_HURNS >= 5) { mapannounce("012-1", "##1The Monster Colonel arrived!", bc_map); areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, ("Monster Colonel"), 1036, 1, "#HurnscaldSiege::OnColonelDeath"); } + else if ($@SIEGE_HURNS >= 1) { + mapannounce("012-1", "##1The Monster Lieutenant arrived!", bc_map); + areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, ("Monster Lieutenant"), 1077, 1, "#HurnscaldSiege::OnLieutenantDeath"); + } areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, strmobinfo(1, SlimeBlast), 1090, 15); areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, ("Black Scorpion"), BlackScorpion, 1, "#HurnscaldSiege::OnBlackScorpion2Death"); areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_X)-20, strmobinfo(1, GreenSlime), 1085, 10, "#HurnscaldSiege::OnGreenSlimeDeath"); |