summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-15 23:28:02 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-15 23:28:02 -0300
commit6c2eb4d10b18a7488c17b6d05b5fb75046eb2267 (patch)
tree6f0772d9780045786ec860a2e51ad50bfd80c547 /npc
parent2400767b941bfe6e16614694885818a95f680134 (diff)
downloadserverdata-6c2eb4d10b18a7488c17b6d05b5fb75046eb2267.tar.gz
serverdata-6c2eb4d10b18a7488c17b6d05b5fb75046eb2267.tar.bz2
serverdata-6c2eb4d10b18a7488c17b6d05b5fb75046eb2267.tar.xz
serverdata-6c2eb4d10b18a7488c17b6d05b5fb75046eb2267.zip
Polishing
Diffstat (limited to 'npc')
-rw-r--r--npc/012-1/guards.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index baf1e7059..c023eaf20 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -234,6 +234,7 @@ OnTimer630000:
*/
OnSet:
+ .CYCLES=0;
waitingroom("Monster Army", 2, "start#hurns_lib::OnReadyCheck", 1);
end;
@@ -368,6 +369,7 @@ OnTimer120000:
OnTimer240000:
.CYCLES=.CYCLES+1;
+ // Scripted monsters
if (.CYCLES == 2) {
mapannounce("012-1", "Monster Lieutenant appears! Watch out!", bc_map);
monster("012-1", 65, 71, "Monster Lieutenant", NightScorpion, 1, "Hurnsguard::OnXtreem");
@@ -376,6 +378,7 @@ OnTimer240000:
monster("012-1", 65, 71, "Monster Admiral", GiantMutatedBat, 1, "Hurnsguard::OnVictory");
}
+ // One monster per user alive
.@Pl=getmapusers("012-1");
for (.@i = 0; .@i < .@Pl; .@i++) {
.@mid=rand(1,15);
@@ -412,6 +415,7 @@ OnTimer240000:
.@monsterId = Yeti ; break;
}
bg_monster($@FK_Team2, "012-1", rand(69, 136), rand(83, 74), "Monster Soldier", .@monsterId, "Hurnsguard::OnSkip");
+ // 60% odds of having an extra monster spawned (player loop)
if (rand(1,5) % 2 == 1)
bg_monster($@FK_Team2, "012-1", rand(69, 136), rand(83, 74), "Monster Soldier", .@monsterId, "Hurnsguard::OnSkip");
}