From 224d4e48ba6c9d8a22cc4e8c3f7bf24f7e231c44 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Wed, 26 Oct 2022 21:24:13 -0400 Subject: [PATCH] non magic projectiles no longer give life steal cooldown with spectre hood --- CalPlayer/CalamityPlayerOnHit.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index 11e94b81b4..590aec3f7a 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -1607,7 +1607,7 @@ namespace CalamityMod.CalPlayer if (Main.player[Main.myPlayer].lifeSteal > 0f && target.canGhostHeal && !Player.moonLeech) { // Increases the degree to which Spectre Healing set contributes to the lifesteal cap - if (Player.ghostHeal) + if (Player.ghostHeal && proj.CountsAsClass()) { float cooldownMult = 0.2f; cooldownMult -= proj.numHits * 0.05f;