Merge branch 'master' into exo-mech-visuals
No files matched your search
@@ -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>()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |