This commit is contained in:
mountaindrew10 committed 2025-04-28 07:22:11 -05:00
commit aee4fcaa0e
6 files changed
+14 -12

No files matched your search

-6
View File
@@ -482,14 +482,8 @@ namespace CalamityMod.Balancing
// 15% resist to The Final Dawn's AoE sweep flames.
NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileType<FinalDawnFlame>()))));
// 15% resist to God Slayer Slugs.
NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileType<GodSlayerSlugProj>()))));
// 15% resist to Gruesome Eminence.
NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileType<SpiritCongregation>()))));
// 15% resist to Luminite Bullets.
NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileID.MoonlordBullet))));
#endregion
#region Supreme Calamitas: Brimstone Hearts
+1
View File
@@ -14,6 +14,7 @@ namespace CalamityMod.Buffs.StatBuffs
Main.debuff[Type] = true;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = false;
Main.buffNoTimeDisplay[Type] = true; // Consistency with Rage (Look at the bar instead)
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

@@ -715,11 +715,9 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
if (attackTimer >= 60f)
{
Vector2 center20 = npc.Center;
// Hopefully it plays
if (attackTimer == 60f)
SoundEngine.PlaySound(DeathrayChargeSound, center20);
SoundEngine.PlaySound(DeathrayChargeSound, Main.player[npc.target].Center);
int deathrayAttackDustAmt = 0;
if (attackTimer >= 120f)
@@ -731,9 +729,9 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
if (i % 2 == 1)
deathrayAttackDustScale = 1.65f;
Vector2 deathrayAttackDustRotation = center20 + ((float)Main.rand.NextDouble() * MathHelper.TwoPi).ToRotationVector2() * boltAndDeathrayVector / 2f;
Vector2 deathrayAttackDustRotation = npc.Center + ((float)Main.rand.NextDouble() * MathHelper.TwoPi).ToRotationVector2() * boltAndDeathrayVector / 2f;
int deathrayAttackDust = Dust.NewDust(deathrayAttackDustRotation - Vector2.One * 8f, 16, 16, DustID.Vortex, npc.velocity.X / 2f, npc.velocity.Y / 2f, 0, default, 1f);
Main.dust[deathrayAttackDust].velocity = Vector2.Normalize(center20 - deathrayAttackDustRotation) * 3.5f * (10f - deathrayAttackDustAmt * 2f) / 10f;
Main.dust[deathrayAttackDust].velocity = Vector2.Normalize(npc.Center - deathrayAttackDustRotation) * 3.5f * (10f - deathrayAttackDustAmt * 2f) / 10f;
Main.dust[deathrayAttackDust].noGravity = true;
Main.dust[deathrayAttackDust].scale = deathrayAttackDustScale;
Main.dust[deathrayAttackDust].customData = npc;
+10 -1
View File
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using CalamityMod.Items.Placeables.Furniture;
using CalamityMod.Items.Tools;
using CalamityMod.NPCs.AstrumDeus;
@@ -19,6 +20,14 @@ namespace CalamityMod.Projectiles.Typeless
public new string LocalizationCategory => "Projectiles.Typeless";
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
public static List<int> LureSpawnPool => new List<int>()
{
ModContent.NPCType<WulfrumDrone>(),
ModContent.NPCType<WulfrumGyrator>(),
ModContent.NPCType<WulfrumHovercraft>(),
ModContent.NPCType<WulfrumRover>()
};
public ref float Time => ref Projectile.ai[0];
public override void SetDefaults()
@@ -77,7 +86,7 @@ namespace CalamityMod.Projectiles.Typeless
if (tries < 500)
{
int npcToSpawn = Main.rand.NextBool() ? ModContent.NPCType<WulfrumDrone>() : Main.rand.NextBool() ? ModContent.NPCType<WulfrumHovercraft>() : ModContent.NPCType<WulfrumGyrator>();
int npcToSpawn = LureSpawnPool[Main.rand.Next(LureSpawnPool.Count)];
int index = NPC.NewNPC(Projectile.GetSource_FromAI(), (int)spawnPosition.X, (int)spawnPosition.Y, npcToSpawn, Target: player.whoAmI);
for (int iy = 0; iy < 16; iy++)