non magic projectiles no longer give life steal cooldown with spectre hood

This commit is contained in:
ben-tk committed 2022-10-26 21:24:13 -04:00
1 parent 8bab2d6251
commit 224d4e48ba
1 file changed
+1 -1
+1 -1
View File
@@ -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<MagicDamageClass>())
{
float cooldownMult = 0.2f;
cooldownMult -= proj.numHits * 0.05f;