Merge branch 'master' into exo-mech-visuals

This commit is contained in:
DominicKarma committed 2021-09-28 23:34:20 -05:00
commit c7bfee6376
16 files changed
+58 -27

No files matched your search

+26 -1
View File
@@ -2733,7 +2733,32 @@ namespace CalamityMod
ProjectileType<DevilsSunriseCyclone>(),
ProjectileType<PhaseslayerProjectile>(),
ProjectileType<TaserHook>(),
ProjectileType<Snowflake>()
ProjectileType<Snowflake>(),
ProjectileType<InsidiousHarpoon>(),
ProjectileType<PhotonRipperProjectile>(),
ProjectileType<AcidicSaxBubble>(),
ProjectileType<WaterLeechProj>(),
ProjectileType<BonebreakerProjectile>(),
ProjectileType<UrchinBallSpike>(),
ProjectileType<EmesisGore>(),
ProjectileType<ExoLightBurst>(),
ProjectileType<SulphuricAcidBubble2>(),
ProjectileType<EclipsesStealth>(),
ProjectileType<EradicatorProjectile>(),
ProjectileType<FantasyTalismanProj>(),
ProjectileType<FantasyTalismanStealth>(),
ProjectileType<GodsParanoiaProj>(),
ProjectileType<JawsProjectile>(),
ProjectileType<LeviathanTooth>(),
ProjectileType<LionfishProj>(),
ProjectileType<MetalShard>(),
ProjectileType<NastyChollaBol>(),
ProjectileType<SacrificeProjectile>(),
ProjectileType<SnapClamProj>(),
ProjectileType<SnapClamStealth>(),
ProjectileType<StickyBol>(),
ProjectileType<UrchinStingerProj>(),
ProjectileType<EyeOfNightCell>()
};
bossMinionList = new List<int>()
+6 -10
View File
@@ -34,17 +34,13 @@ namespace CalamityMod.Items.SummonItems
public override bool UseItem(Player player)
{
Main.PlaySound(SoundID.Roar, player.position, 0);
if (Main.netMode != NetmodeID.MultiplayerClient)
{
int npc = NPC.NewNPC((int)(player.position.X + Main.rand.Next(-100, 100)), (int)(player.position.Y - 150f), ModContent.NPCType<HiveMind>(), 1);
Main.npc[npc].timeLeft *= 20;
CalamityUtils.BossAwakenMessage(npc);
}
else
NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType<HiveMind>());
Main.PlaySound(SoundID.Roar, player.position, 0);
if (Main.netMode != NetmodeID.MultiplayerClient)
NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType<HiveMind>());
else
NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType<HiveMind>());
return true;
return true;
}
public override void AddRecipes()
+7 -2
View File
@@ -2089,9 +2089,14 @@ namespace CalamityMod.NPCs
if (npc.type == NPCID.TargetDummy || npc.type == NPCType<SuperDummyNPC>())
{
npc.chaseable = !CalamityPlayer.areThereAnyDamnBosses;
npc.dontTakeDamage = CalamityPlayer.areThereAnyDamnBosses;
}
if (draedon != -1)
{
if (Main.npc[draedon].active)
npc.dontTakeDamage = true;
}
}
// Setting this in SetDefaults will disable expert mode scaling, so put it here instead
if (ZeroContactDamageNPCList.Contains(npc.type))
+8 -7
View File
@@ -919,6 +919,9 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo
// Set Apollo's location to the next charge location
npc.Center = chargeLocations[(int)calamityGlobalNPC.newAI[2] + 1];
// Reset velocity to 0
npc.velocity = Vector2.Zero;
// Increase newAI[2] whenever a charge ends
calamityGlobalNPC.newAI[2] += 1f;
calamityGlobalNPC.newAI[3] = 0f;
@@ -1291,13 +1294,11 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo
Main.dust[num195].noGravity = true;
}
/*Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody1"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody2"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody3"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody4"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody5"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody6"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody7"), 1f);*/
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo1"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo2"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo3"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo4"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo5"), 1f);
}
}
+5 -7
View File
@@ -1302,13 +1302,11 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
Main.dust[num195].noGravity = true;
}
/*Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody1"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody2"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody3"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody4"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody5"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody6"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody7"), 1f);*/
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis1"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis2"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis3"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis4"), 1f);
Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis5"), 1f);
}
}
+6
View File
@@ -318,6 +318,12 @@ namespace CalamityMod.NPCs.SlimeGod
buffedSlime = 0;
}
else if (npc.ai[1] < ai1)
{
npc.Opacity += 0.2f;
if (npc.Opacity > 0.8f)
npc.Opacity = 0.8f;
}
// Spin and shoot orbs
if (phase2)
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB