Adult Eidolon -> Primordial (close vote)

This commit is contained in:
Altixal committed 2023-07-26 08:56:29 +07:00
1 parent d0709f74b4
commit 255a515157
40 files changed
+100 -100

No files matched your search

+3 -3
View File
@@ -20,7 +20,7 @@ using CalamityMod.ILEditing;
using CalamityMod.Items;
using CalamityMod.Items.Dyes.HairDye;
using CalamityMod.Items.VanillaArmorChanges;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.AstrumAureus;
using CalamityMod.NPCs.AstrumDeus;
@@ -747,7 +747,7 @@ namespace CalamityMod
{ ModContent.NPCType<ThanatosBody2>(), 21600 },
{ ModContent.NPCType<ThanatosTail>(), 21600 },
{ ModContent.NPCType<SupremeCalamitas>(), 18000 }, // 5:00 (300 seconds)
{ ModContent.NPCType<AdultEidolonWyrmHead>(), 18000 } // 5:00 (300 seconds)
{ ModContent.NPCType<PrimordialWyrmHead>(), 18000 } // 5:00 (300 seconds)
};
}
#endregion
@@ -867,7 +867,7 @@ namespace CalamityMod
{ ModContent.NPCType<ThanatosBody1>(), velocityScaleMin },
{ ModContent.NPCType<ThanatosBody2>(), velocityScaleMin },
{ ModContent.NPCType<ThanatosTail>(), velocityScaleMin },
{ ModContent.NPCType<AdultEidolonWyrmHead>(), bitingEnemeyVelocityScale }
{ ModContent.NPCType<PrimordialWyrmHead>(), bitingEnemeyVelocityScale }
};
}
#endregion
+7 -7
View File
@@ -1,4 +1,4 @@
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.AstrumAureus;
using CalamityMod.NPCs.AstrumDeus;
@@ -292,7 +292,7 @@ namespace CalamityMod
{ ModContent.NPCType<ThanatosBody2>(), 0.8 },
{ ModContent.NPCType<ThanatosTail>(), 0.8 },
{ ModContent.NPCType<AdultEidolonWyrmHead>(), 0.8 }
{ ModContent.NPCType<PrimordialWyrmHead>(), 0.8 }
};
EnemyStats.ContactDamageValues = new SortedDictionary<int, int[]>
@@ -545,7 +545,7 @@ namespace CalamityMod
{ ModContent.NPCType<ThanatosBody2>(), new int[] { 300, 480, 512, 528, 660 } },
{ ModContent.NPCType<ThanatosTail>(), new int[] { 250, 400, 424, 440, 552 } },
{ ModContent.NPCType<AdultEidolonWyrmHead>(), new int[] { 400, 800, 850, 880, 1000 } }
{ ModContent.NPCType<PrimordialWyrmHead>(), new int[] { 400, 800, 850, 880, 1000 } }
};
EnemyStats.ProjectileDamageValues = new SortedDictionary<Tuple<int, int>, int[]>
@@ -830,10 +830,10 @@ namespace CalamityMod
{ new Tuple<int, int>(ModContent.NPCType<AresTeslaCannon>(), ModContent.ProjectileType<AresTeslaOrb>()), new int[] { 240, 408, 432, 456, 630 } },
{ new Tuple<int, int>(ModContent.NPCType<AresGaussNuke>(), ModContent.ProjectileType<AresGaussNukeProjectile>()), new int[] { 400, 608, 640, 658, 960 } },
{ new Tuple<int, int>(ModContent.NPCType<AdultEidolonWyrmHead>(), ProjectileID.CultistBossIceMist), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<AdultEidolonWyrmHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 500, 752, 788, 808, 1182 } },
{ new Tuple<int, int>(ModContent.NPCType<AdultEidolonWyrmHead>(), ProjectileID.AncientDoomProjectile), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<AdultEidolonWyrmBodyAlt>(), ProjectileID.CultistBossFireBallClone), new int[] { 400, 600, 632, 648, 948 } }
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossIceMist), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 500, 752, 788, 808, 1182 } },
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.AncientDoomProjectile), new int[] { 400, 600, 632, 648, 948 } },
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmBodyAlt>(), ProjectileID.CultistBossFireBallClone), new int[] { 400, 600, 632, 648, 948 } }
};
}
+1 -1
View File
@@ -2,7 +2,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Items.SummonItems;
using CalamityMod.NPCs.Abyss;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.AstrumAureus;
using CalamityMod.NPCs.AstrumDeus;
File renamed without changes.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -154,7 +154,6 @@ CrimsonSlimeSpawn2: Embedded in these slime's bodies are shards of crimulan ston
Sepulcher: This might just be the vilest undead abomination in this realm. The Sepulcher itself is completely immune to physical damage, and can only be killed by destroying its many suspended organs.
SoulSeekerSupreme: Incomplete, ghoulish skulls, their forms are limited but their devotion boundless. It's likely each yearns for a soul of their own to be complete, whether it's given by Calamitas or ripped from the foe they kill.
//Bosses
AdultEidolonWyrm: Traces of them appear even in records as far back as the early Draconic Era... They may very well be a glimpse into the full potential of nature.
AquaticScourge: A species of scourge which has had its exoskeleton hardened and tempered by years of diving through sulphuric waters for prey. Its own jaws are now imbued with the venom of those seas.
AstrumAureus: A multi-legged mechanical beast, its very existence speaks of the extent of control the astral virus has over the non-sapient. Not even machinery can stand against it.
AstrumDeus: Revered as a God of the stars, it has been infected by the starborne illness. However, it has now been broken free from the infection's control and roams the stars once more, consuming dying stars and birthing them anew.
@@ -182,6 +181,7 @@ Perforator: Each equipped with a deadly mouthpiece, the different ones are suite
PerforatorHive: Though birthed by the crimson, it is unknown whether they fully serve that creator. The worms of the hive frequently carve huge tunnels in the crimson's flesh.
PlaguebringerGoliath: Machinery and nanobots have nearly entirely eaten away at the form of this Queen Bee. One wonders if it would simply be more efficient to create one from the ground up.
Polterghast: Screaming and crying, a cacophony of spirits in anguish tear through the narrow hallways of the dungeon, searching for more—alive or dead—to add to their numbers.
PrimordialWyrm: Traces of them appear even in records as far back as the early Draconic Era... They may very well be a glimpse into the full potential of nature.
ProfanedGuardianCommander: When it turns its burning spear towards anything, its simple mind has a clear goal. To entirely eradicate the enemy.
ProfanedGuardianDefender: The body it has formed boasts of a stone shell hallowed and tempered by the flames of the sun. Very little can fully shatter its defense.
ProfanedGuardianHealer: Its crystal which is displayed prominently on its body is able to restore damage done to its kin, and it draws that damage into flares which steal your life.
@@ -71,7 +71,6 @@ Radiator.DisplayName: Radiator
Skyfin.DisplayName: Skyfin
SulphurousSkater.DisplayName: Sulphurous Skater
Trilobite.DisplayName: Trilobite
AdultEidolonWyrmHead.DisplayName: Adult Eidolon Wyrm
Jared: Jared
AquaticScourgeHead: {
@@ -434,6 +433,7 @@ Necroplasm: Necroplasm
Polterplasm: Polterplasm
PolterghastHook.DisplayName: Polterghast Hook
PolterPhantom.DisplayName: Polterghast
PrimordialWyrmHead.DisplayName: Primordial Wyrm
ProfanedGuardianCommander: {
DisplayName: Guardian Commander
+1 -1
View File
@@ -309,7 +309,7 @@ namespace CalamityMod
case "adult wyrm":
case "adulteidolon":
case "adult eidolon":
return DownedBossSystem.downedAdultEidolonWyrm;
return DownedBossSystem.downedPrimordialWyrm;
case "bossrush":
case "boss rush":
+3 -3
View File
@@ -30,7 +30,7 @@ using CalamityMod.Items.Weapons.Rogue;
using CalamityMod.Items.Weapons.Summon;
using CalamityMod.Items.Weapons.Typeless;
using CalamityMod.NPCs.AcidRain;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.Astral;
using CalamityMod.NPCs.AstrumAureus;
@@ -118,7 +118,7 @@ namespace CalamityMod
public static readonly Func<bool> DownedYharon = () => DownedBossSystem.downedYharon;
public static readonly Func<bool> DownedExoMechs = () => DownedBossSystem.downedExoMechs;
public static readonly Func<bool> DownedSCal = () => DownedBossSystem.downedCalamitas;
public static readonly Func<bool> DownedAdultEidolonWyrm = () => DownedBossSystem.downedAdultEidolonWyrm;
public static readonly Func<bool> DownedPrimordialWyrm = () => DownedBossSystem.downedPrimordialWyrm;
public static readonly Func<bool> DownedAcidRainInitial = () => DownedBossSystem.downedEoCAcidRain;
public static readonly Func<bool> DownedAcidRainHardmode = () => DownedBossSystem.downedAquaticScourgeAcidRain;
@@ -187,7 +187,7 @@ namespace CalamityMod
{ "Yharon", 22f },
{ "ExoMechs", 22.99f },
{ "Calamitas", 23f },
// { "AdultEidolonWyrm", 23.5f },
// { "PrimordialWyrm", 23.5f },
{ "BossRush", 25.99f },
// { "Yharim", 24f },
// { "Noxus", 25f },
+2 -2
View File
@@ -7,7 +7,7 @@ using CalamityMod.Items.Placeables;
using CalamityMod.Items.Placeables.Banners;
using CalamityMod.Items.Weapons.Magic;
using CalamityMod.Items.Weapons.Melee;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.NormalNPCs;
using CalamityMod.Sounds;
using CalamityMod.World;
@@ -444,7 +444,7 @@ namespace CalamityMod.NPCs.Abyss
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
// Never drop anything if this Eidolon Wyrm is a minion during an AEW fight.
var aewMinionCondition = npcLoot.DefineConditionalDropSet(AdultEidolonWyrmHead.CanMinionsDropThings);
var aewMinionCondition = npcLoot.DefineConditionalDropSet(PrimordialWyrmHead.CanMinionsDropThings);
// 30-40 Voidstone
aewMinionCondition.Add(ModContent.ItemType<Voidstone>(), 1, 30, 40);
+6 -6
View File
@@ -9,7 +9,7 @@ using CalamityMod.Items.Accessories;
using CalamityMod.Items.Tools;
using CalamityMod.Items.Weapons.Melee;
using CalamityMod.NPCs.Abyss;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.AcidRain;
using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.Astral;
@@ -551,7 +551,7 @@ namespace CalamityMod.NPCs
ResetSavedIndex(ref draedonExoMechPrime, NPCType<AresBody>());
ResetSavedIndex(ref draedonExoMechPrimePlasmaCannon, NPCType<AresPlasmaFlamethrower>());
ResetSavedIndex(ref adultEidolonWyrmHead, NPCType<AdultEidolonWyrmHead>());
ResetSavedIndex(ref adultEidolonWyrmHead, NPCType<PrimordialWyrmHead>());
// Reset the enraged state every frame. The expectation is that bosses will continuously set it back to true if necessary.
CurrentlyEnraged = false;
@@ -2830,7 +2830,7 @@ namespace CalamityMod.NPCs
// Adult Wyrm Ancient Doom
if (npc.type == NPCID.AncientDoom)
{
if (Main.npc[(int)npc.ai[0]].type == NPCType<AdultEidolonWyrmHead>())
if (Main.npc[(int)npc.ai[0]].type == NPCType<PrimordialWyrmHead>())
return CultistAI.BuffedAncientDoomAI(npc, Mod);
}
@@ -6305,9 +6305,9 @@ namespace CalamityMod.NPCs
{
return DownedBossSystem.downedCalamitas;
}
else if (type == NPCType<AdultEidolonWyrmHead>())
else if (type == NPCType<PrimordialWyrmHead>())
{
return DownedBossSystem.downedAdultEidolonWyrm;
return DownedBossSystem.downedPrimordialWyrm;
}
return true;
@@ -6376,7 +6376,7 @@ namespace CalamityMod.NPCs
if (target.damage > 0 && !target.boss && !target.friendly && !target.dontTakeDamage && target.type != NPCID.Creeper && target.type != NPCType<RavagerClawLeft>() &&
target.type != NPCID.MourningWood && target.type != NPCID.Everscream && target.type != NPCID.SantaNK1 && target.type != NPCType<RavagerClawRight>() &&
target.type != NPCType<ReaperShark>() && target.type != NPCType<Mauler>() && target.type != NPCType<EidolonWyrmHead>() && target.type != NPCID.GolemFistLeft && target.type != NPCID.GolemFistRight &&
target.type != NPCType<AdultEidolonWyrmHead>() && target.type != NPCType<ColossalSquid>() && target.type != NPCID.DD2Betsy && !CalamityLists.enemyImmunityList.Contains(target.type) && !AcidRainEvent.AllMinibosses.Contains(target.type))
target.type != NPCType<PrimordialWyrmHead>() && target.type != NPCType<ColossalSquid>() && target.type != NPCID.DD2Betsy && !CalamityLists.enemyImmunityList.Contains(target.type) && !AcidRainEvent.AllMinibosses.Contains(target.type))
{
return true;
}
+2 -2
View File
@@ -11,7 +11,7 @@ using Terraria.GameContent.ItemDropRules;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Audio;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
namespace CalamityMod.NPCs.NormalNPCs
{
@@ -354,7 +354,7 @@ namespace CalamityMod.NPCs.NormalNPCs
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
// Never drop anything if this Eidolon Wyrm is a minion during an AEW fight.
var aewMinionCondition = npcLoot.DefineConditionalDropSet(AdultEidolonWyrmHead.CanMinionsDropThings);
var aewMinionCondition = npcLoot.DefineConditionalDropSet(PrimordialWyrmHead.CanMinionsDropThings);
LeadingConditionRule notDuringCultistFight = new LeadingConditionRule(DropHelper.If(() => !NPC.LunarApocalypseIsUp));
notDuringCultistFight.Add(ModContent.ItemType<EidolonTablet>(), 4);
+1 -1
View File
@@ -80,7 +80,7 @@ namespace CalamityMod.NPCs.Polterghast
NPCs.Abyss.ReaperShark.EnragedRoarSound,
NPCs.Abyss.LuminousCorvina.ScreamSound,
NPCs.Abyss.DevilFish.MaskBreakSound,
NPCs.AdultEidolonWyrm.AdultEidolonWyrmHead.ChargeSound,
NPCs.PrimordialWyrm.PrimordialWyrmHead.ChargeSound,
NPCs.GreatSandShark.GreatSandShark.RoarSound,
NPCs.AcidRain.Mauler.RoarSound,
NPCs.AstrumDeus.AstrumDeusHead.DeathSound,
@@ -1,4 +1,4 @@
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -8,8 +8,8 @@ namespace CalamityMod.Systems
public class AEWMusicScene : BaseMusicSceneEffect
{
public override SceneEffectPriority Priority => SceneEffectPriority.BossHigh;
public override int NPCType => ModContent.NPCType<AdultEidolonWyrmHead>();
public override int? MusicModMusic => CalamityMod.Instance.GetMusicFromMusicMod("AdultEidolonWyrm");
public override int NPCType => ModContent.NPCType<PrimordialWyrmHead>();
public override int? MusicModMusic => CalamityMod.Instance.GetMusicFromMusicMod("PrimordialWyrm");
public override int VanillaMusic => MusicID.Boss3;
public override int OtherworldMusic => MusicID.OtherworldlyBoss2;
}
@@ -9,11 +9,11 @@ using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace CalamityMod.NPCs.AdultEidolonWyrm
namespace CalamityMod.NPCs.PrimordialWyrm
{
public class AdultEidolonWyrmBody : ModNPC
public class PrimordialWyrmBody : ModNPC
{
public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.AdultEidolonWyrmHead.DisplayName");
public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.PrimordialWyrmHead.DisplayName");
public override void SetStaticDefaults()
{
this.HideFromBestiary();
@@ -69,7 +69,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
// Check if other segments are still alive. If not, die.
bool shouldDespawn = true;
int wyrmHeadID = ModContent.NPCType<AdultEidolonWyrmHead>();
int wyrmHeadID = ModContent.NPCType<PrimordialWyrmHead>();
for (int i = 0; i < Main.maxNPCs; i++)
{
if (Main.npc[i].active && Main.npc[i].type == wyrmHeadID)
@@ -98,8 +98,8 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
float chargePhaseGateValue = death ? 180f : revenge ? 210f : expertMode ? 240f : 300f;
float lightningChargePhaseGateValue = death ? 120f : revenge ? 135f : expertMode ? 150f : 180f;
bool invisiblePartOfChargePhase = calamityGlobalNPC_Head.newAI[2] >= chargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= chargePhaseGateValue + 1f && (calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ChargeOne || calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ChargeTwo || calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.FastCharge);
bool invisiblePartOfLightningChargePhase = calamityGlobalNPC_Head.newAI[2] >= lightningChargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= lightningChargePhaseGateValue + 1f && calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.LightningCharge;
bool invisiblePartOfChargePhase = calamityGlobalNPC_Head.newAI[2] >= chargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= chargePhaseGateValue + 1f && (calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ChargeOne || calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ChargeTwo || calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.FastCharge);
bool invisiblePartOfLightningChargePhase = calamityGlobalNPC_Head.newAI[2] >= lightningChargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= lightningChargePhaseGateValue + 1f && calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.LightningCharge;
bool invisiblePhase = calamityGlobalNPC_Head.newAI[0] == 1f || calamityGlobalNPC_Head.newAI[0] == 5f || calamityGlobalNPC_Head.newAI[0] == 7f;
if (!invisiblePartOfChargePhase && !invisiblePartOfLightningChargePhase && !invisiblePhase)
{
@@ -117,8 +117,8 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
NPC.Opacity = 0f;
}
bool spawnAncientLights = (calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ShadowFireballSpin && calamityGlobalNPC_Head.newAI[2] > 0f) ||
(calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.FinalPhase && calamityGlobalNPC_Head.newAI[1] > 0f);
bool spawnAncientLights = (calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ShadowFireballSpin && calamityGlobalNPC_Head.newAI[2] > 0f) ||
(calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.FinalPhase && calamityGlobalNPC_Head.newAI[1] > 0f);
if (spawnAncientLights)
{
if (Vector2.Distance(NPC.Center, Main.player[Main.npc[(int)NPC.ai[2]].target].Center) > 160f)
@@ -172,7 +172,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
center += vector * NPC.scale + new Vector2(0f, NPC.gfxOffY);
spriteBatch.Draw(texture, center, NPC.frame, NPC.GetAlpha(drawColor), NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBodyGlow").Value;
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/PrimordialWyrm/PrimordialWyrmBodyGlow").Value;
spriteBatch.Draw(texture, center, NPC.frame, Color.White * NPC.Opacity, NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
return false;
@@ -189,7 +189,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
if (Main.netMode != NetmodeID.Server)
{
Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find<ModGore>("WyrmAdult2").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find<ModGore>("PrimordialWyrm2").Type, 1f);
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

@@ -9,11 +9,11 @@ using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace CalamityMod.NPCs.AdultEidolonWyrm
namespace CalamityMod.NPCs.PrimordialWyrm
{
public class AdultEidolonWyrmBodyAlt : ModNPC
public class PrimordialWyrmBodyAlt : ModNPC
{
public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.AdultEidolonWyrmHead.DisplayName");
public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.PrimordialWyrmHead.DisplayName");
public override void SetStaticDefaults()
{
this.HideFromBestiary();
@@ -69,7 +69,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
// Check if other segments are still alive. If not, die.
bool shouldDespawn = true;
int wyrmHeadID = ModContent.NPCType<AdultEidolonWyrmHead>();
int wyrmHeadID = ModContent.NPCType<PrimordialWyrmHead>();
for (int i = 0; i < Main.maxNPCs; i++)
{
if (Main.npc[i].active && Main.npc[i].type == wyrmHeadID)
@@ -98,8 +98,8 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
float chargePhaseGateValue = death ? 180f : revenge ? 210f : expertMode ? 240f : 300f;
float lightningChargePhaseGateValue = death ? 120f : revenge ? 135f : expertMode ? 150f : 180f;
bool invisiblePartOfChargePhase = calamityGlobalNPC_Head.newAI[2] >= chargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= chargePhaseGateValue + 1f && (calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ChargeOne || calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ChargeTwo || calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.FastCharge);
bool invisiblePartOfLightningChargePhase = calamityGlobalNPC_Head.newAI[2] >= lightningChargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= lightningChargePhaseGateValue + 1f && calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.LightningCharge;
bool invisiblePartOfChargePhase = calamityGlobalNPC_Head.newAI[2] >= chargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= chargePhaseGateValue + 1f && (calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ChargeOne || calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ChargeTwo || calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.FastCharge);
bool invisiblePartOfLightningChargePhase = calamityGlobalNPC_Head.newAI[2] >= lightningChargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= lightningChargePhaseGateValue + 1f && calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.LightningCharge;
bool invisiblePhase = calamityGlobalNPC_Head.newAI[0] == 1f || calamityGlobalNPC_Head.newAI[0] == 5f || calamityGlobalNPC_Head.newAI[0] == 7f;
if (!invisiblePartOfChargePhase && !invisiblePartOfLightningChargePhase && !invisiblePhase)
{
@@ -117,8 +117,8 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
NPC.Opacity = 0f;
}
bool shootShadowFireballs = (calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ShadowFireballSpin && calamityGlobalNPC_Head.newAI[2] > 0f) ||
(calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.FinalPhase && calamityGlobalNPC_Head.newAI[1] > 0f);
bool shootShadowFireballs = (calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ShadowFireballSpin && calamityGlobalNPC_Head.newAI[2] > 0f) ||
(calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.FinalPhase && calamityGlobalNPC_Head.newAI[1] > 0f);
if (shootShadowFireballs)
{
if (Vector2.Distance(NPC.Center, Main.player[Main.npc[(int)NPC.ai[2]].target].Center) > 160f)
@@ -172,7 +172,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
center += vector * NPC.scale + new Vector2(0f, NPC.gfxOffY);
spriteBatch.Draw(texture, center, NPC.frame, NPC.GetAlpha(drawColor), NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmBodyAltGlow").Value;
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/PrimordialWyrm/PrimordialWyrmBodyAltGlow").Value;
spriteBatch.Draw(texture, center, NPC.frame, Color.White * NPC.Opacity, NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
return false;
@@ -189,7 +189,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
if (Main.netMode != NetmodeID.Server)
{
Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find<ModGore>("WyrmAdult3").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find<ModGore>("PrimordialWyrm3").Type, 1f);
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

@@ -23,10 +23,10 @@ using Terraria.GameContent.Bestiary;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.NPCs.AdultEidolonWyrm
namespace CalamityMod.NPCs.PrimordialWyrm
{
[AutoloadBossHead]
public class AdultEidolonWyrmHead : ModNPC
public class PrimordialWyrmHead : ModNPC
{
public enum Phase
{
@@ -77,8 +77,8 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
//Sounds
public static readonly SoundStyle SpawnSound = new("CalamityMod/Sounds/Custom/Scare");
public static readonly SoundStyle ChargeSound = new("CalamityMod/Sounds/Custom/AdultEidolonCharge");
public static readonly SoundStyle DeathSound = new("CalamityMod/Sounds/NPCKilled/AdultEidolonDeath");
public static readonly SoundStyle ChargeSound = new("CalamityMod/Sounds/Custom/PrimordialWyrmCharge");
public static readonly SoundStyle DeathSound = new("CalamityMod/Sounds/NPCKilled/PrimordialWyrmDeath");
public override void SetStaticDefaults()
{
@@ -88,7 +88,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
Scale = 0.50f,
PortraitScale = 0.6f,
PortraitPositionXOverride = 40,
CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/AdultEidolonWyrm_Bestiary"
CustomTexturePath = "CalamityMod/ExtraTextures/Bestiary/PrimordialWyrm_Bestiary"
};
value.Position.X += 55;
value.Position.Y += 5;
@@ -141,7 +141,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
//AAAAAAAAAAAAH Scary abyss superboss guy so he gets pitch black bg and no biome source.
//eidolon wyrm comment jumpscare!!!!!!
new MoonLordPortraitBackgroundProviderBestiaryInfoElement(),
new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.AdultEidolonWyrm")
new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.PrimordialWyrm")
});
}
@@ -229,12 +229,12 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
if (i >= 0 && i < minLength)
{
if (i % 2 == 0)
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<AdultEidolonWyrmBody>(), NPC.whoAmI);
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<PrimordialWyrmBody>(), NPC.whoAmI);
else
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<AdultEidolonWyrmBodyAlt>(), NPC.whoAmI);
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<PrimordialWyrmBodyAlt>(), NPC.whoAmI);
}
else
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<AdultEidolonWyrmTail>(), NPC.whoAmI);
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<PrimordialWyrmTail>(), NPC.whoAmI);
Main.npc[lol].realLife = NPC.whoAmI;
Main.npc[lol].ai[2] = NPC.whoAmI;
@@ -276,7 +276,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
{
for (int a = 0; a < Main.maxNPCs; a++)
{
if (Main.npc[a].type == NPC.type || Main.npc[a].type == ModContent.NPCType<AdultEidolonWyrmBodyAlt>() || Main.npc[a].type == ModContent.NPCType<AdultEidolonWyrmBody>() || Main.npc[a].type == ModContent.NPCType<AdultEidolonWyrmTail>())
if (Main.npc[a].type == NPC.type || Main.npc[a].type == ModContent.NPCType<PrimordialWyrmBodyAlt>() || Main.npc[a].type == ModContent.NPCType<PrimordialWyrmBody>() || Main.npc[a].type == ModContent.NPCType<PrimordialWyrmTail>())
Main.npc[a].active = false;
}
}
@@ -1433,7 +1433,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
center += vector * NPC.scale + new Vector2(0f, NPC.gfxOffY);
spriteBatch.Draw(texture, center, NPC.frame, NPC.GetAlpha(drawColor), NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmHeadGlow").Value;
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/PrimordialWyrm/PrimordialWyrmHeadGlow").Value;
spriteBatch.Draw(texture, center, NPC.frame, Color.White * NPC.Opacity, NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
return false;
@@ -1471,7 +1471,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
for (int k = 0; k < 15; k++)
Dust.NewDust(NPC.position, NPC.width, NPC.height, 4, hit.HitDirection, -1f, 0, default, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("WyrmAdult").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("PrimordialWyrm").Type, 1f);
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 630 B

After

Width:  |  Height:  |  Size: 630 B

@@ -8,11 +8,11 @@ using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace CalamityMod.NPCs.AdultEidolonWyrm
namespace CalamityMod.NPCs.PrimordialWyrm
{
public class AdultEidolonWyrmTail : ModNPC
public class PrimordialWyrmTail : ModNPC
{
public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.AdultEidolonWyrmHead.DisplayName");
public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.PrimordialWyrmHead.DisplayName");
public override void SetStaticDefaults()
{
this.HideFromBestiary();
@@ -58,7 +58,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
// Check if other segments are still alive. If not, die.
bool shouldDespawn = true;
int wyrmHeadID = ModContent.NPCType<AdultEidolonWyrmHead>();
int wyrmHeadID = ModContent.NPCType<PrimordialWyrmHead>();
for (int i = 0; i < Main.maxNPCs; i++)
{
if (Main.npc[i].active && Main.npc[i].type == wyrmHeadID)
@@ -87,8 +87,8 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
float chargePhaseGateValue = death ? 180f : revenge ? 210f : expertMode ? 240f : 300f;
float lightningChargePhaseGateValue = death ? 120f : revenge ? 135f : expertMode ? 150f : 180f;
bool invisiblePartOfChargePhase = calamityGlobalNPC_Head.newAI[2] >= chargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= chargePhaseGateValue + 1f && (calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ChargeOne || calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.ChargeTwo || calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.FastCharge);
bool invisiblePartOfLightningChargePhase = calamityGlobalNPC_Head.newAI[2] >= lightningChargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= lightningChargePhaseGateValue + 1f && calamityGlobalNPC_Head.newAI[0] == (float)AdultEidolonWyrmHead.Phase.LightningCharge;
bool invisiblePartOfChargePhase = calamityGlobalNPC_Head.newAI[2] >= chargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= chargePhaseGateValue + 1f && (calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ChargeOne || calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.ChargeTwo || calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.FastCharge);
bool invisiblePartOfLightningChargePhase = calamityGlobalNPC_Head.newAI[2] >= lightningChargePhaseGateValue && calamityGlobalNPC_Head.newAI[2] <= lightningChargePhaseGateValue + 1f && calamityGlobalNPC_Head.newAI[0] == (float)PrimordialWyrmHead.Phase.LightningCharge;
bool invisiblePhase = calamityGlobalNPC_Head.newAI[0] == 1f || calamityGlobalNPC_Head.newAI[0] == 5f || calamityGlobalNPC_Head.newAI[0] == 7f;
if (!invisiblePartOfChargePhase && !invisiblePartOfLightningChargePhase && !invisiblePhase)
{
@@ -134,7 +134,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
center += vector * NPC.scale + new Vector2(0f, NPC.gfxOffY);
spriteBatch.Draw(texture, center, NPC.frame, NPC.GetAlpha(drawColor), NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/AdultEidolonWyrm/AdultEidolonWyrmTailGlow").Value;
texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/PrimordialWyrm/PrimordialWyrmTailGlow").Value;
spriteBatch.Draw(texture, center, NPC.frame, Color.White * NPC.Opacity, NPC.rotation, vector, NPC.scale, spriteEffects, 0f);
return false;
@@ -151,7 +151,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm
if (Main.netMode != NetmodeID.Server)
{
Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find<ModGore>("WyrmAdult4").Type, 1f);
Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find<ModGore>("PrimordialWyrm4").Type, 1f);
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

+8 -8
View File
@@ -1,5 +1,5 @@
using CalamityMod.Events;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.World;
using Microsoft.Xna.Framework;
using System;
@@ -1043,7 +1043,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses
if (npc.ai[0] >= 0f)
{
// Triple damage if the Adult Eidolon Wyrm is alive
// Triple damage if the Primordial Wyrm is alive
if (npc.ai[0] == 0f)
{
if (CalamityGlobalNPC.adultEidolonWyrmHead != -1)
@@ -1090,12 +1090,12 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses
float lifeRatio = Main.npc[(int)npc.ai[0]].life / (float)Main.npc[(int)npc.ai[0]].lifeMax;
bool phase2 = lifeRatio < 0.7f;
bool phase3 = lifeRatio < (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<AdultEidolonWyrmHead>() ? 0.6f : 0.55f);
bool phase3 = lifeRatio < (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<PrimordialWyrmHead>() ? 0.6f : 0.55f);
bool phase4 = lifeRatio < 0.4f;
bool kill = npc.ai[1] < 0f || !Main.npc[(int)npc.ai[0]].active;
int target = Main.maxPlayers;
if (Main.npc[(int)npc.ai[0]].type == NPCID.CultistBoss || Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<AdultEidolonWyrmHead>())
if (Main.npc[(int)npc.ai[0]].type == NPCID.CultistBoss || Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<PrimordialWyrmHead>())
{
if (target == Main.maxPlayers)
target = Main.npc[(int)npc.ai[0]].target;
@@ -1106,7 +1106,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses
if (phase4 || death)
rateOfChange = 3;
if (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<AdultEidolonWyrmHead>())
if (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<PrimordialWyrmHead>())
npc.dontTakeDamage = true;
}
else
@@ -1128,7 +1128,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses
double deg = npc.ai[3];
double rad = deg * (Math.PI / 180);
double dist = 550;
if (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<AdultEidolonWyrmHead>())
if (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<PrimordialWyrmHead>())
{
float aiGateValue = Main.npc[(int)npc.ai[0]].Calamity().newAI[2] - 30f;
int ancientDoomScale = (int)(aiGateValue / 120f);
@@ -1180,8 +1180,8 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses
int type = ProjectileID.AncientDoomProjectile;
int damage = npc.GetProjectileDamage(type);
// Triple damage if the Adult Eidolon Wyrm is alive
if (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<AdultEidolonWyrmHead>())
// Triple damage if the Primordial Wyrm is alive
if (Main.npc[(int)npc.ai[0]].type == ModContent.NPCType<PrimordialWyrmHead>())
damage *= 3;
kill = true;
File renamed without changes.
+8 -8
View File
@@ -41,7 +41,7 @@ namespace CalamityMod
internal static bool _downedArtemisAndApollo = false; // only used for loot drops
internal static bool _downedExoMechs = false;
internal static bool _downedCalamitas = false;
internal static bool _downedAdultEidolonWyrm = false;
internal static bool _downedPrimordialWyrm = false;
// Minibosses
internal static bool _downedGSS = false;
@@ -369,15 +369,15 @@ namespace CalamityMod
NPC.SetEventFlagCleared(ref _downedCalamitas, -1);
}
}
public static bool downedAdultEidolonWyrm
public static bool downedPrimordialWyrm
{
get => _downedAdultEidolonWyrm;
get => _downedPrimordialWyrm;
set
{
if (!value)
_downedAdultEidolonWyrm = false;
_downedPrimordialWyrm = false;
else
NPC.SetEventFlagCleared(ref _downedAdultEidolonWyrm, -1);
NPC.SetEventFlagCleared(ref _downedPrimordialWyrm, -1);
}
}
public static bool downedCLAM
@@ -538,7 +538,7 @@ namespace CalamityMod
downedArtemisAndApollo = false;
downedExoMechs = false;
downedCalamitas = false;
downedAdultEidolonWyrm = false;
downedPrimordialWyrm = false;
downedSecondSentinels = false;
@@ -632,7 +632,7 @@ namespace CalamityMod
downed.Add("exoMechs");
if (downedCalamitas)
downed.Add("supremeCalamitas");
if (downedAdultEidolonWyrm)
if (downedPrimordialWyrm)
downed.Add("adultEidolonWyrm");
// Minibosses and events
@@ -698,7 +698,7 @@ namespace CalamityMod
downedAres = downed.Contains("ares");
downedExoMechs = downed.Contains("exoMechs");
downedCalamitas = downed.Contains("supremeCalamitas");
downedAdultEidolonWyrm = downed.Contains("adultEidolonWyrm");
downedPrimordialWyrm = downed.Contains("adultEidolonWyrm");
downedCLAM = downed.Contains("clam");
downedEoCAcidRain = downed.Contains("eocRain");
+3 -3
View File
@@ -2,7 +2,7 @@
using CalamityMod.CalPlayer;
using CalamityMod.Events;
using CalamityMod.NPCs;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.ExoMechs;
using CalamityMod.NPCs.NormalNPCs;
using CalamityMod.Projectiles.Boss;
@@ -418,7 +418,7 @@ namespace CalamityMod.Systems
}
#endregion
#region Handle Adult Eidolon Wyrm Spawns
#region Handle Primordial Wyrm Spawns
public static void TrySpawnAEoW(Player player, CalamityPlayer modPlayer)
{
if (Main.netMode == NetmodeID.MultiplayerClient || !(modPlayer.ZoneAbyss || Main.zenithWorld) || !player.chaosState || player.dead)
@@ -426,7 +426,7 @@ namespace CalamityMod.Systems
bool adultWyrmAlive = CalamityGlobalNPC.adultEidolonWyrmHead != -1 && Main.npc[CalamityGlobalNPC.adultEidolonWyrmHead].active;
if (!adultWyrmAlive)
NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType<AdultEidolonWyrmHead>());
NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType<PrimordialWyrmHead>());
}
#endregion
}
+2 -2
View File
@@ -118,7 +118,7 @@ namespace CalamityMod.Systems
BitsByte flags11 = new BitsByte();
flags11[0] = false;
flags11[1] = HasGeneratedLuminitePlanetoids;
flags11[2] = downedAdultEidolonWyrm;
flags11[2] = downedPrimordialWyrm;
flags11[3] = downedExoMechs;
flags11[4] = downedAres;
flags11[5] = downedThanatos;
@@ -272,7 +272,7 @@ namespace CalamityMod.Systems
BitsByte flags11 = reader.ReadByte();
_ = flags11[0];
HasGeneratedLuminitePlanetoids = flags11[1];
downedAdultEidolonWyrm = flags11[2];
downedPrimordialWyrm = flags11[2];
downedExoMechs = flags11[3];
downedAres = flags11[4];
downedThanatos = flags11[5];
+2 -2
View File
@@ -1,6 +1,6 @@
using System;
using CalamityMod.CalPlayer;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.AstrumAureus;
using CalamityMod.NPCs.AstrumDeus;
@@ -133,7 +133,7 @@ namespace CalamityMod.UI
39 => TextureAssets.NpcHeadBoss[NPCID.Sets.BossHeadTextures[ModContent.NPCType<Yharon>()]].Value,
40 => ModContent.Request<Texture2D>("CalamityMod/NPCs/SupremeCalamitas/HoodlessHeadIcon").Value,
41 => TextureAssets.NpcHeadBoss[NPCID.Sets.BossHeadTextures[ModContent.NPCType<AresBody>()]].Value,
42 => TextureAssets.NpcHeadBoss[NPCID.Sets.BossHeadTextures[ModContent.NPCType<AdultEidolonWyrmHead>()]].Value,
42 => TextureAssets.NpcHeadBoss[NPCID.Sets.BossHeadTextures[ModContent.NPCType<PrimordialWyrmHead>()]].Value,
43 => TextureAssets.NpcHeadBoss[38].Value, // Queen Slime
44 => TextureAssets.NpcHeadBoss[37].Value, // Empress of Light
45 => TextureAssets.NpcHeadBoss[39].Value, // Deerclops
+1 -1
View File
@@ -616,7 +616,7 @@ namespace CalamityMod
public static IItemDropRuleCondition PostYharon(bool ui = true) => If(() => DownedBossSystem.downedYharon, ui, "Drops after defeating Yharon");
public static IItemDropRuleCondition PostExos(bool ui = true) => If(() => DownedBossSystem.downedExoMechs, ui, "Drops after defeating the Exo Mechs");
public static IItemDropRuleCondition PostSCal(bool ui = true) => If(() => DownedBossSystem.downedCalamitas, ui, "Drops after defeating Calamitas");
public static IItemDropRuleCondition PostAEW(bool ui = true) => If(() => DownedBossSystem.downedAdultEidolonWyrm, ui, "Drops after defeating the Adult Eidolon Wyrm");
public static IItemDropRuleCondition PostAEW(bool ui = true) => If(() => DownedBossSystem.downedPrimordialWyrm, ui, "Drops after defeating the Primordial Wyrm");
public static IItemDropRuleCondition PostClam(bool ui = true) => If(() => DownedBossSystem.downedCLAM, ui, "Drops after defeating the Giant Clam");
public static IItemDropRuleCondition PostClamHM(bool ui = true) => If(() => DownedBossSystem.downedCLAMHardMode, ui, "Drops after defeating the Giant Clam in Hardmode");
public static IItemDropRuleCondition PostGSS(bool ui = true) => If(() => DownedBossSystem.downedGSS, ui, "Drops after defeating the Great Sand Shark");
+5 -5
View File
@@ -2,7 +2,7 @@
using CalamityMod.Buffs.StatDebuffs;
using CalamityMod.NPCs.Abyss;
using CalamityMod.NPCs.AcidRain;
using CalamityMod.NPCs.AdultEidolonWyrm;
using CalamityMod.NPCs.PrimordialWyrm;
using CalamityMod.NPCs.AquaticScourge;
using CalamityMod.NPCs.Astral;
using CalamityMod.NPCs.AstrumAureus;
@@ -207,10 +207,10 @@ namespace CalamityMod
{ ModContent.NPCType<SepulcherBodyEnergyBall>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<SepulcherTail>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<AdultEidolonWyrmHead>(), new Tuple<bool, int[]>(false, CalamityMod.abyssEnemyImmunities) },
{ ModContent.NPCType<AdultEidolonWyrmBody>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<AdultEidolonWyrmBodyAlt>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<AdultEidolonWyrmTail>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<PrimordialWyrmHead>(), new Tuple<bool, int[]>(false, CalamityMod.abyssEnemyImmunities) },
{ ModContent.NPCType<PrimordialWyrmBody>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<PrimordialWyrmBodyAlt>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<PrimordialWyrmTail>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
{ ModContent.NPCType<AcidEel>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },
{ ModContent.NPCType<BloodwormFleeing>(), new Tuple<bool, int[]>(false, CalamityMod.sulphurEnemyImmunities) },