Fixed remaining 200 > Main.maxNPCs issues.
This commit is contained in:
1 parent
61ceeed536
commit
2df8a36e43
39 files changed
+47
-48
No files matched your search
@@ -118,7 +118,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
if (NPC.life <= 0)
|
||||
{
|
||||
int type = ModContent.NPCType<Hiveling>();
|
||||
for (int i = 0; i < 200; i++)
|
||||
for (int i = 0; i < Main.maxNPCs; i++)
|
||||
{
|
||||
if (Main.npc[i].type == type)
|
||||
{
|
||||
|
||||
+1
-1
@@ -211,7 +211,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
for (int i = 0; i < 200; i++)
|
||||
for (int i = 0; i < Main.maxPlayers; i++)
|
||||
{
|
||||
if (Main.player[i].getRect().Intersects(myRect))
|
||||
{
|
||||
|
||||
@@ -5051,7 +5051,6 @@ namespace CalamityMod.NPCs
|
||||
pool.Add(NPCType<NanodroidDysfunctional>(), 0.05f);
|
||||
}
|
||||
|
||||
|
||||
int typeToSpawn = pool.Get();
|
||||
if (typeToSpawn != NPCID.None)
|
||||
{
|
||||
|
||||
@@ -638,7 +638,7 @@ namespace CalamityMod.NPCs.Crabulon
|
||||
Main.npc[num664].SetDefaults(num663);
|
||||
Main.npc[num664].velocity.X = Main.rand.Next(-50, 51) * (Main.getGoodWorld ? 0.2f : 0.1f);
|
||||
Main.npc[num664].velocity.Y = Main.rand.Next(-50, -31) * (Main.getGoodWorld ? 0.2f : 0.1f);
|
||||
if (Main.netMode == NetmodeID.Server && num664 < 200)
|
||||
if (Main.netMode == NetmodeID.Server && num664 < Main.maxNPCs)
|
||||
{
|
||||
NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num664, 0f, 0f, 0f, 0, 0, 0);
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
}
|
||||
if ((double)NPC.position.Y > Main.rockLayer * 16.0)
|
||||
{
|
||||
for (int a = 0; a < 200; a++)
|
||||
for (int a = 0; a < Main.maxNPCs; a++)
|
||||
{
|
||||
if (Main.npc[a].type == ModContent.NPCType<DesertNuisanceHead>() || Main.npc[a].type == ModContent.NPCType<DesertNuisanceBody>() ||
|
||||
Main.npc[a].type == ModContent.NPCType<DesertNuisanceTail>())
|
||||
|
||||
@@ -383,7 +383,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
}
|
||||
if ((double)NPC.position.Y > Main.rockLayer * 16.0)
|
||||
{
|
||||
for (int a = 0; a < 200; a++)
|
||||
for (int a = 0; a < Main.maxNPCs; a++)
|
||||
{
|
||||
if (Main.npc[a].type == ModContent.NPCType<DesertScourgeHead>() || Main.npc[a].type == ModContent.NPCType<DesertScourgeBody>() ||
|
||||
Main.npc[a].type == ModContent.NPCType<DesertScourgeTail>())
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
}
|
||||
if ((double)NPC.position.Y > (double)((Main.maxTilesY - 200) * 16))
|
||||
{
|
||||
for (int a = 0; a < 200; a++)
|
||||
for (int a = 0; a < Main.maxNPCs; a++)
|
||||
{
|
||||
if (Main.npc[a].type == ModContent.NPCType<ArmoredDiggerHead>() || Main.npc[a].type == ModContent.NPCType<ArmoredDiggerBody>() ||
|
||||
Main.npc[a].type == ModContent.NPCType<ArmoredDiggerTail>())
|
||||
|
||||
@@ -291,7 +291,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
}
|
||||
if ((double)NPC.position.Y > Main.rockLayer * 16.0)
|
||||
{
|
||||
for (int a = 0; a < 200; a++)
|
||||
for (int a = 0; a < Main.maxNPCs; a++)
|
||||
{
|
||||
if (Main.npc[a].type == ModContent.NPCType<PerforatorHeadLarge>() || Main.npc[a].type == ModContent.NPCType<PerforatorBodyLarge>() ||
|
||||
Main.npc[a].type == ModContent.NPCType<PerforatorTailLarge>())
|
||||
|
||||
@@ -263,7 +263,7 @@ namespace CalamityMod.NPCs.Perforator
|
||||
}
|
||||
if ((double)NPC.position.Y > Main.rockLayer * 16.0)
|
||||
{
|
||||
for (int a = 0; a < 200; a++)
|
||||
for (int a = 0; a < Main.maxNPCs; a++)
|
||||
{
|
||||
if (Main.npc[a].type == ModContent.NPCType<PerforatorHeadSmall>() || Main.npc[a].type == ModContent.NPCType<PerforatorBodySmall>() ||
|
||||
Main.npc[a].type == ModContent.NPCType<PerforatorTailSmall>())
|
||||
|
||||
@@ -665,7 +665,7 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
Main.npc[num664].velocity.Y = (float)Main.rand.Next(-30, 1) * 0.1f;
|
||||
Main.npc[num664].ai[0] = (float)(-1000 * Main.rand.Next(3));
|
||||
Main.npc[num664].ai[1] = 0f;
|
||||
if (Main.netMode == NetmodeID.Server && num664 < 200)
|
||||
if (Main.netMode == NetmodeID.Server && num664 < Main.maxNPCs)
|
||||
NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num664, 0f, 0f, 0f, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -677,7 +677,7 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
Main.npc[num664].velocity.Y = (float)Main.rand.Next(-30, 1) * 0.1f;
|
||||
Main.npc[num664].ai[0] = (float)(-1000 * Main.rand.Next(3));
|
||||
Main.npc[num664].ai[1] = 0f;
|
||||
if (Main.netMode == NetmodeID.Server && num664 < 200)
|
||||
if (Main.netMode == NetmodeID.Server && num664 < Main.maxNPCs)
|
||||
NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num664, 0f, 0f, 0f, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -652,7 +652,7 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
Main.npc[num664].velocity.Y = (float)Main.rand.Next(-30, 1) * 0.1f;
|
||||
Main.npc[num664].ai[0] = (float)(-1000 * Main.rand.Next(3));
|
||||
Main.npc[num664].ai[1] = 0f;
|
||||
if (Main.netMode == NetmodeID.Server && num664 < 200)
|
||||
if (Main.netMode == NetmodeID.Server && num664 < Main.maxNPCs)
|
||||
NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num664, 0f, 0f, 0f, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -665,7 +665,7 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
Main.npc[num664].velocity.Y = (float)Main.rand.Next(-30, 1) * 0.1f;
|
||||
Main.npc[num664].ai[0] = (float)(-1000 * Main.rand.Next(3));
|
||||
Main.npc[num664].ai[1] = 0f;
|
||||
if (Main.netMode == NetmodeID.Server && num664 < 200)
|
||||
if (Main.netMode == NetmodeID.Server && num664 < Main.maxNPCs)
|
||||
NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num664, 0f, 0f, 0f, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -792,7 +792,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses
|
||||
Main.npc[num32].velocity.Y = Main.rand.Next(-30, 1) * 0.1f;
|
||||
Main.npc[num32].ai[0] = -500 * Main.rand.Next(3);
|
||||
Main.npc[num32].ai[1] = 0f;
|
||||
if (Main.netMode == NetmodeID.Server && num32 < 200)
|
||||
if (Main.netMode == NetmodeID.Server && num32 < Main.maxNPCs)
|
||||
NetMessage.SendData(MessageID.SyncNPC, -1, -1, null, num32);
|
||||
|
||||
return false;
|
||||
|
||||
@@ -505,7 +505,7 @@ namespace CalamityMod.Projectiles
|
||||
if (projectile.localAI[0] == 0f && projectile.ai[0] < 0f && projectile.owner == Main.myPlayer)
|
||||
{
|
||||
projectile.localAI[0] = 5f;
|
||||
for (int num1034 = 0; num1034 < 200; num1034++)
|
||||
for (int num1034 = 0; num1034 < Main.maxNPCs; num1034++)
|
||||
{
|
||||
NPC nPC13 = Main.npc[num1034];
|
||||
if (nPC13.CanBeChasedBy(this))
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
float num473 = Projectile.Center.Y;
|
||||
float num474 = 250f;
|
||||
bool flag17 = false;
|
||||
for (int num475 = 0; num475 < 200; num475++)
|
||||
for (int num475 = 0; num475 < Main.maxNPCs; num475++)
|
||||
{
|
||||
if (Main.npc[num475].CanBeChasedBy(Projectile, false) && Collision.CanHit(Projectile.Center, 1, 1, Main.npc[num475].Center, 1, 1))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -76,7 +76,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
int num1016 = 0;
|
||||
if (Projectile.ai[1] == 0f)
|
||||
{
|
||||
for (int num1017 = 0; num1017 < 200; num1017 = num3 + 1)
|
||||
for (int num1017 = 0; num1017 < Main.maxNPCs; num1017 = num3 + 1)
|
||||
{
|
||||
if (Main.npc[num1017].CanBeChasedBy(Projectile, false))
|
||||
{
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
float num559 = 1000f;
|
||||
int num3;
|
||||
for (int num560 = 0; num560 < 200; num560 = num3 + 1)
|
||||
for (int num560 = 0; num560 < Main.maxNPCs; num560 = num3 + 1)
|
||||
{
|
||||
if (Main.npc[num560].CanBeChasedBy(Projectile, false))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.CalPlayer;
|
||||
using CalamityMod.CalPlayer;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
float num472 = Projectile.Center.X;
|
||||
float num473 = Projectile.Center.Y;
|
||||
float num474 = 600f;
|
||||
for (int num475 = 0; num475 < 200; num475++)
|
||||
for (int num475 = 0; num475 < Main.maxNPCs; num475++)
|
||||
{
|
||||
NPC npc = Main.npc[num475];
|
||||
if (npc.CanBeChasedBy(Projectile, false) && Collision.CanHit(Projectile.Center, 1, 1, npc.Center, 1, 1) && !CalamityPlayer.areThereAnyDamnBosses)
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
float targetY = Projectile.Center.Y;
|
||||
bool foundTarget = false;
|
||||
float maxRange = MaxHomingRange;
|
||||
for (int i = 0; i < 200; i++)
|
||||
for (int i = 0; i < Main.maxNPCs; i++)
|
||||
{
|
||||
if (Main.npc[i].CanBeChasedBy(Projectile, false) && Collision.CanHit(Projectile.Center, 1, 1, Main.npc[i].Center, 1, 1))
|
||||
{
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
float longestReach = MaxProjReach;
|
||||
NPC target = null;
|
||||
for (int i = 0; i < 200; ++i)
|
||||
for (int i = 0; i < Main.maxNPCs; ++i)
|
||||
{
|
||||
NPC npc = Main.npc[i];
|
||||
if (!excludedTargets.Contains(npc) && npc.CanBeChasedBy() && !npc.friendly && !npc.townNPC)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
int num158 = -1;
|
||||
float num159 = 60f;
|
||||
for (int num160 = 0; num160 < 200; num160++)
|
||||
for (int num160 = 0; num160 < Main.maxNPCs; num160++)
|
||||
{
|
||||
NPC nPC = Main.npc[num160];
|
||||
if (nPC.CanBeChasedBy(Projectile, false))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
int num158 = -1;
|
||||
float num159 = 60f;
|
||||
for (int num160 = 0; num160 < 200; num160++)
|
||||
for (int num160 = 0; num160 < Main.maxNPCs; num160++)
|
||||
{
|
||||
NPC nPC = Main.npc[num160];
|
||||
if (nPC.CanBeChasedBy(Projectile, false))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
int num158 = -1;
|
||||
float num159 = 60f;
|
||||
for (int num160 = 0; num160 < 200; num160++)
|
||||
for (int num160 = 0; num160 < Main.maxNPCs; num160++)
|
||||
{
|
||||
NPC nPC = Main.npc[num160];
|
||||
if (nPC.CanBeChasedBy(Projectile, false))
|
||||
|
||||
@@ -133,7 +133,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
float longestReach = MaxTangleReach;
|
||||
NPC target = null;
|
||||
for (int i = 0; i < 200; ++i)
|
||||
for (int i = 0; i < Main.maxNPCs; ++i)
|
||||
{
|
||||
NPC npc = Main.npc[i];
|
||||
if (!excludedTargets.Contains(npc) && npc.CanBeChasedBy() && !npc.friendly && !npc.townNPC)
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
float num559 = 1000f;
|
||||
int num3;
|
||||
for (int num560 = 0; num560 < 200; num560 = num3 + 1)
|
||||
for (int num560 = 0; num560 < Main.maxNPCs; num560 = num3 + 1)
|
||||
{
|
||||
if (Main.npc[num560].CanBeChasedBy(Projectile, false))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.CalPlayer;
|
||||
using CalamityMod.CalPlayer;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System;
|
||||
@@ -87,7 +87,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
float num472 = Projectile.Center.X;
|
||||
float num473 = Projectile.Center.Y;
|
||||
float num474 = 600f;
|
||||
for (int num475 = 0; num475 < 200; num475++)
|
||||
for (int num475 = 0; num475 < Main.maxNPCs; num475++)
|
||||
{
|
||||
NPC npc = Main.npc[num475];
|
||||
if (npc.CanBeChasedBy(Projectile, false) && Collision.CanHit(Projectile.Center, 1, 1, npc.Center, 1, 1) && !CalamityPlayer.areThereAnyDamnBosses)
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
float longestReach = MaxTangleReach;
|
||||
NPC target = null;
|
||||
for (int i = 0; i < 200; ++i)
|
||||
for (int i = 0; i < Main.maxNPCs; ++i)
|
||||
{
|
||||
NPC npc = Main.npc[i];
|
||||
if (!excludedTargets.Contains(npc) && npc.CanBeChasedBy() && !npc.friendly && !npc.townNPC)
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
int possibleTarget = -1;
|
||||
float closestDistance = 700f;
|
||||
|
||||
for (int i = 0; i < 200; i++)
|
||||
for (int i = 0; i < Main.maxNPCs; i++)
|
||||
{
|
||||
NPC npc = Main.npc[i];
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
int num143 = 0;
|
||||
if (Projectile.ai[1] == 0f)
|
||||
{
|
||||
for (int num144 = 0; num144 < 200; num144++)
|
||||
for (int num144 = 0; num144 < Main.maxNPCs; num144++)
|
||||
{
|
||||
if (Main.npc[num144].CanBeChasedBy(Projectile, false) && (Projectile.ai[1] == 0f || Projectile.ai[1] == (float)(num144 + 1)))
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Vector2 targetCenter = Projectile.Center;
|
||||
float minTargetDistance = 2500f;
|
||||
bool homeIn = false;
|
||||
for (int i = 0; i < 200; i++)
|
||||
for (int i = 0; i < Main.maxNPCs; i++)
|
||||
{
|
||||
if (Main.npc[i].CanBeChasedBy(Projectile, false) && Collision.CanHit(Projectile.Center, 1, 1, Main.npc[i].Center, 1, 1))
|
||||
{
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
bool bossFound = false;
|
||||
int target = -1;
|
||||
float minDist = HomingStartRange;
|
||||
for (int i = 0; i < 200; ++i)
|
||||
for (int i = 0; i < Main.maxNPCs; ++i)
|
||||
{
|
||||
NPC npc = Main.npc[i];
|
||||
if (!npc.active || npc.type == NPCID.TargetDummy)
|
||||
|
||||
@@ -137,7 +137,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
bool bossFound = false;
|
||||
int target = -1;
|
||||
float minDist = HomingStartRange;
|
||||
for (int i = 0; i < 200; ++i)
|
||||
for (int i = 0; i < Main.maxNPCs; ++i)
|
||||
{
|
||||
NPC npc = Main.npc[i];
|
||||
if (!npc.active || npc.type == NPCID.TargetDummy)
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
float num633;
|
||||
Vector2 vector46 = Projectile.position;
|
||||
bool flag25 = false;
|
||||
for (int num645 = 0; num645 < 200; num645++)
|
||||
for (int num645 = 0; num645 < Main.maxNPCs; num645++)
|
||||
{
|
||||
NPC nPC2 = Main.npc[num645];
|
||||
if (nPC2.CanBeChasedBy(Projectile, false))
|
||||
|
||||
@@ -975,7 +975,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
if (!flag19)
|
||||
{
|
||||
int num3;
|
||||
for (int num542 = 0; num542 < 200; num542 = num3 + 1)
|
||||
for (int num542 = 0; num542 < Main.maxNPCs; num542 = num3 + 1)
|
||||
{
|
||||
if (Main.npc[num542].CanBeChasedBy(Projectile, false))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Terraria;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
float num472 = Projectile.Center.X;
|
||||
float num473 = Projectile.Center.Y;
|
||||
float num474 = 600f;
|
||||
for (int num475 = 0; num475 < 200; num475++)
|
||||
for (int num475 = 0; num475 < Main.maxNPCs; num475++)
|
||||
{
|
||||
NPC npc = Main.npc[num475];
|
||||
if (npc.CanBeChasedBy(Projectile, false) && Collision.CanHit(Projectile.Center, 1, 1, npc.Center, 1, 1) && !CalamityPlayer.areThereAnyDamnBosses)
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
int num35 = -1;
|
||||
float num36 = num30;
|
||||
for (int num37 = 0; num37 < 200; num37++)
|
||||
for (int num37 = 0; num37 < Main.maxNPCs; num37++)
|
||||
{
|
||||
if (Main.npc[num37].active && Main.npc[num37].CanBeChasedBy(Projectile, false))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -62,7 +62,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
int num35 = -1;
|
||||
float num36 = num30;
|
||||
for (int num37 = 0; num37 < 200; num37++)
|
||||
for (int num37 = 0; num37 < Main.maxNPCs; num37++)
|
||||
{
|
||||
if (Main.npc[num37].active && Main.npc[num37].CanBeChasedBy(Projectile, false))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
int num35 = -1;
|
||||
float num36 = num30;
|
||||
for (int num37 = 0; num37 < 200; num37++)
|
||||
for (int num37 = 0; num37 < Main.maxNPCs; num37++)
|
||||
{
|
||||
if (Main.npc[num37].active && Main.npc[num37].CanBeChasedBy(Projectile, false))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user