From 552c0660848227692dc5faee2d68689f3025276d Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Fri, 18 Jul 2025 02:17:17 +0700 Subject: [PATCH] nvm to lazy to rewrite these --- Projectiles/Summon/DazzlingStabber.cs | 3 +-- Projectiles/Summon/IgneousBlade.cs | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Projectiles/Summon/DazzlingStabber.cs b/Projectiles/Summon/DazzlingStabber.cs index 0afb24e4e3..4322dbb52a 100644 --- a/Projectiles/Summon/DazzlingStabber.cs +++ b/Projectiles/Summon/DazzlingStabber.cs @@ -28,7 +28,6 @@ namespace CalamityMod.Projectiles.Summon public Vector2 storedPos; public override void SetStaticDefaults() { - Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = false; // To prevent blade type desync ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -305,7 +304,7 @@ namespace CalamityMod.Projectiles.Summon public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(ModContent.BuffType(), 180); - public override bool MinionContactDamage() => attackCooldown == 0; + public override bool? CanDamage() => (attackCooldown == 0 ? base.CanDamage() : false); public override bool PreDraw(ref Color lightColor) { diff --git a/Projectiles/Summon/IgneousBlade.cs b/Projectiles/Summon/IgneousBlade.cs index 86f0f94bc8..ce02852948 100644 --- a/Projectiles/Summon/IgneousBlade.cs +++ b/Projectiles/Summon/IgneousBlade.cs @@ -15,7 +15,6 @@ namespace CalamityMod.Projectiles.Summon public bool Firing = false; public override void SetStaticDefaults() { - Main.projPet[Type] = true; ProjectileID.Sets.TrailingMode[Type] = 0; ProjectileID.Sets.TrailCacheLength[Type] = 7; } @@ -93,8 +92,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool MinionContactDamage() => true; - public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { if (Firing)