diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/012-1/guards.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index c16b8b2b6..ad1d62921 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -304,10 +304,11 @@ OnDoEvent: OnSkip: end; -OnTimer210000: +OnTimer300000: .@Pl=getmapusers("012-1")+mobcount("012-1", "Cassia:OnSkip")-1; + .@Pla=getmapusers("012-1"); .@Mb=mobcount("012-1", "Hurnsguard:OnSkip")+mobcount("012-1", "Hurnsguard::OnXtreem")+2; // Saulc GM is an enemy for server code - for (.@i = 0; .@i < .@Pl; .@i++) + for (.@i = 0; .@i < .@Pla; .@i++) bg_monster($@FK_Team1, "012-1", rand(131, 141), rand(64, 80), "Friendly Guard", FallenGuard1, "Cassia::OnSkip"); // See if we need extra guards, depending on how outnumbered allied forces are. @@ -333,9 +334,9 @@ OnTimer210000: initnpctimer; end; -OnTimer15000: +OnTimer30000: OnTimer120000: -OnTimer180000: +OnTimer240000: .@Pl=getmapusers("012-1"); for (.@i = 0; .@i < .@Pl; .@i++) { .@mid=rand(1,13); @@ -368,6 +369,7 @@ OnTimer180000: .@monsterId = Yeti ; break; } areamonster("012-1", 52, 45, 127, 80, "Monster Soldier", .@monsterId, 1, "Hurnsguard::OnSkip"); + bg_monster($@FK_Team1, "012-1", rand(131, 141), rand(64, 80), "Additional Guard", FallenGuard2, "Cassia::OnSkip"); } end; |