Mitosis
This commit is contained in:
1 parent
82d20eb98f
commit
f733de47ab
2 files changed
+14
-1
No files matched your search
@@ -188,6 +188,19 @@ namespace CalamityMod.NPCs.HiveMind
|
||||
{
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, 14, hitDirection, -1f, 0, default, 1f);
|
||||
}
|
||||
|
||||
//TODO -- Zenith seed.
|
||||
bool getFuckedAI = Main.getGoodWorld && Main.masterMode;
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient && getFuckedAI)
|
||||
{
|
||||
//Spawn even more blobs on death
|
||||
for (int i = 1; i < 3; i++)
|
||||
{
|
||||
Vector2 spawnAt = NPC.Center + new Vector2(0f, NPC.height / 2f);
|
||||
NPC.NewNPC(NPC.GetSource_FromThis(), (int)spawnAt.X, (int)spawnAt.Y, ModContent.NPCType<HiveBlob>());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -513,7 +513,7 @@ namespace CalamityMod.NPCs.HiveMind
|
||||
if (Main.getGoodWorld)
|
||||
maxBlobs *= 2;
|
||||
if (getFuckedAI)
|
||||
maxBlobs = 60;
|
||||
maxBlobs = 50;
|
||||
|
||||
for (int i = 0; i < maxBlobs; i++)
|
||||
NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<HiveBlob>(), NPC.whoAmI);
|
||||
|
||||
Reference in new issue
Block a user