Renamed Sepulcher's alt body segment
This commit is contained in:
1 parent
5f9a0017ed
commit
cdb2c4a10f
7 files changed
+8
-8
No files matched your search
@@ -785,7 +785,7 @@ namespace CalamityMod
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneWave>()), new int[] { 280, 476, 484, 500, 726 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 696 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 280, 476, 484, 500, 726 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SCalWormBodyWeak>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 696 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SepulcherBodyEnergyBall>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 696 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeekerSupreme>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 696 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<SupremeCataclysmFist>()), new int[] { 280, 476, 484, 500, 726 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 696 } },
|
||||
|
||||
@@ -297,7 +297,7 @@ namespace CalamityMod.Events
|
||||
}
|
||||
SoundEngine.PlaySound(SupremeCalamitas.SpawnSound, Main.player[ClosestPlayerToWorldCenter].Center);
|
||||
CalamityUtils.SpawnBossBetter(Main.player[ClosestPlayerToWorldCenter].Top - new Vector2(42f, 84f), type);
|
||||
}, dimnessFactor: 0.6f, permittedNPCs: new int[] { ModContent.NPCType<SepulcherArm>(), ModContent.NPCType<SepulcherHead>(), ModContent.NPCType<SepulcherBody>(), ModContent.NPCType<SCalWormBodyWeak>(), ModContent.NPCType<SepulcherTail>(),
|
||||
}, dimnessFactor: 0.6f, permittedNPCs: new int[] { ModContent.NPCType<SepulcherArm>(), ModContent.NPCType<SepulcherHead>(), ModContent.NPCType<SepulcherBody>(), ModContent.NPCType<SepulcherBodyEnergyBall>(), ModContent.NPCType<SepulcherTail>(),
|
||||
ModContent.NPCType<SoulSeekerSupreme>(), ModContent.NPCType<BrimstoneHeart>(), ModContent.NPCType<SupremeCataclysm>(), ModContent.NPCType<SupremeCatastrophe>() }),
|
||||
|
||||
new Boss(ModContent.NPCType<Yharon>(), TimeChangeContext.Day),
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@ using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
{
|
||||
public class SCalWormBodyWeak : ModNPC
|
||||
public class SepulcherBodyEnergyBall : ModNPC
|
||||
{
|
||||
private bool setAlpha = false;
|
||||
public NPC AheadSegment => Main.npc[(int)NPC.ai[1]];
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
this.HideFromBestiary();
|
||||
DisplayName.SetDefault("Brimstone Heart");
|
||||
DisplayName.SetDefault("Sepulcher");
|
||||
Main.npcFrameCount[NPC.type] = 5;
|
||||
}
|
||||
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 874 B |
@@ -121,7 +121,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
int lol;
|
||||
if (i >= 0 && i < minLength && i % 2 == 1)
|
||||
{
|
||||
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.position.X + (NPC.width / 2), (int)NPC.position.Y + (NPC.height / 2), ModContent.NPCType<SCalWormBodyWeak>(), NPC.whoAmI);
|
||||
lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.position.X + (NPC.width / 2), (int)NPC.position.Y + (NPC.height / 2), ModContent.NPCType<SepulcherBodyEnergyBall>(), NPC.whoAmI);
|
||||
Main.npc[lol].localAI[0] += passedVar;
|
||||
passedVar += 36f;
|
||||
}
|
||||
|
||||
@@ -324,7 +324,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
|
||||
public override bool? CanHitNPC(NPC target)
|
||||
{
|
||||
bool instakill = target.type == ModContent.NPCType<SepulcherHead>() || target.type == ModContent.NPCType<SepulcherBody>() || target.type == ModContent.NPCType<SCalWormBodyWeak>() || target.type == ModContent.NPCType<SepulcherTail>();
|
||||
bool instakill = target.type == ModContent.NPCType<SepulcherHead>() || target.type == ModContent.NPCType<SepulcherBody>() || target.type == ModContent.NPCType<SepulcherBodyEnergyBall>() || target.type == ModContent.NPCType<SepulcherTail>();
|
||||
if (!instakill && this.target != null && target != this.target)
|
||||
{
|
||||
if (Projectile.getRect().Intersects(target.getRect()))
|
||||
@@ -723,7 +723,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
|
||||
public override bool? CanHitNPC(NPC target)
|
||||
{
|
||||
bool instakill = target.type == ModContent.NPCType<SepulcherHead>() || target.type == ModContent.NPCType<SepulcherBody>() || target.type == ModContent.NPCType<SCalWormBodyWeak>() || target.type == ModContent.NPCType<SepulcherTail>();
|
||||
bool instakill = target.type == ModContent.NPCType<SepulcherHead>() || target.type == ModContent.NPCType<SepulcherBody>() || target.type == ModContent.NPCType<SepulcherBodyEnergyBall>() || target.type == ModContent.NPCType<SepulcherTail>();
|
||||
if (!instakill && this.target != null && target != this.target)
|
||||
return false;
|
||||
return null;
|
||||
|
||||
@@ -192,7 +192,7 @@ namespace CalamityMod
|
||||
{ ModContent.NPCType<BrimstoneHeart>(), new Tuple<bool, int[]>(false, CalamityMod.cragEnemyImmunities) },
|
||||
{ ModContent.NPCType<SepulcherHead>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
|
||||
{ ModContent.NPCType<SepulcherBody>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
|
||||
{ ModContent.NPCType<SCalWormBodyWeak>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
|
||||
{ ModContent.NPCType<SepulcherBodyEnergyBall>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
|
||||
{ ModContent.NPCType<SepulcherTail>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
|
||||
|
||||
{ ModContent.NPCType<ThanatosHead>(), new Tuple<bool, int[]>(true, Array.Empty<int>()) },
|
||||
|
||||
Reference in new issue
Block a user