summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-30 16:37:56 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-30 16:37:56 -0300
commit48d2792b20a0b58dd8e8b0648ce53ab67eb9c017 (patch)
tree850798005ea10531b30b177c4bc932ee3cd15d66 /npc
parenta571612ea5ed381d88e4319345a035fbb2dbe1d2 (diff)
downloadserverdata-48d2792b20a0b58dd8e8b0648ce53ab67eb9c017.tar.gz
serverdata-48d2792b20a0b58dd8e8b0648ce53ab67eb9c017.tar.bz2
serverdata-48d2792b20a0b58dd8e8b0648ce53ab67eb9c017.tar.xz
serverdata-48d2792b20a0b58dd8e8b0648ce53ab67eb9c017.zip
Fix misc bugs
Diffstat (limited to 'npc')
-rw-r--r--npc/012-1/guards.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index 96b2288a5..35dc127d6 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -214,7 +214,7 @@ OnTimer240000:
// One monster per user alive
.@Pl=getmapusers("012-1");
for (.@i = 0; .@i < .@Pl; .@i++) {
- .@mid=rand(1,15);
+ .@mid=rand(1,17);
switch (.@mid) {
case 1:
.@monsterId = CaveMaggot ; break;
@@ -244,12 +244,16 @@ OnTimer240000:
.@monsterId = Pinkie ; break;
case 14:
.@monsterId = MagicGoblin ; break;
+ case 15:
+ .@monsterId = Mouboo ; break;
+ case 16:
+ .@monsterId = Scorpion ; break;
default: // case 13:
.@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)
+ // 40% odds of having an extra monster spawned (player loop)
+ if (rand(1,5) % 2 == 0)
bg_monster($@FK_Team2, "012-1", rand(69, 136), rand(83, 74), "Monster Soldier", .@monsterId, "Hurnsguard::OnSkip");
}
// One slime blast per general
@@ -265,7 +269,7 @@ OnTimer240000:
bg_monster($@FK_Team2, "012-1", rand(69, 136), rand(83, 74), "Monster Soldier", MagicGoblin, "Hurnsguard::OnSkip");
}
// Spawn Angry Scorpions on the whole map. These monsters are neutral!
- areamonster("012-1", 33, 16, 137, 100, "Monster Soldier", AngryScorpion, .@Pl+.CYCLES, "Hurnsguard::OnSkip");
+ areamonster("012-1", 33, 16, 137, 100, "Monster Soldier", AngryScorpion, .CYCLES, "Hurnsguard::OnSkip");
// One extra guard on every summon
bg_monster($@FK_Team1, "012-1", rand(131, 136), rand(64, 80), "Additional Guard", FallenGuard2, "Cassia::OnSkip");