Made Prov's box smaller and only spawn in hell

This commit is contained in:
DominicKarma committed 2021-06-08 15:13:31 -05:00
1 parent a0190f62d2
commit b2e8b0e227
1 file changed
+2 -4
+2 -4
View File
@@ -1344,10 +1344,8 @@ namespace CalamityMod.NPCs.Providence
DropHelper.DropItemChance(npc, ModContent.ItemType<ProvidenceMask>(), 7);
}
if (Main.netMode != NetmodeID.MultiplayerClient)
{
if (Main.netMode != NetmodeID.MultiplayerClient && npc.Top.Y >= (Main.maxTilesY - 240f) * 16f)
SpawnLootBox();
}
// If Providence has not been killed, notify players of Uelibloom Ore
if (!CalamityWorld.downedProvidence)
@@ -1380,7 +1378,7 @@ namespace CalamityMod.NPCs.Providence
{
int tileCenterX = (int)npc.Center.X / 16;
int tileCenterY = (int)npc.Center.Y / 16;
int halfBox = npc.width / 2 / 16 + 1;
int halfBox = 5;
for (int x = tileCenterX - halfBox; x <= tileCenterX + halfBox; x++)
{
for (int y = tileCenterY - halfBox; y <= tileCenterY + halfBox; y++)