yharon now counts as an organic enemy

This commit is contained in:
GinYuH authored and Ozzatron committed 2024-06-01 20:23:45 -04:00
1 parent a5f1d7f49f
commit 3487f96417
1 file changed
+2 -1
+2 -1
View File
@@ -9,6 +9,7 @@ using CalamityMod.NPCs.NormalNPCs;
using CalamityMod.NPCs.OldDuke;
using CalamityMod.NPCs.Providence;
using CalamityMod.NPCs.SlimeGod;
using CalamityMod.NPCs.Yharon;
using CalamityMod.Projectiles.Boss;
using CalamityMod.World;
using Microsoft.Xna.Framework;
@@ -689,7 +690,7 @@ namespace CalamityMod
target.HitSound != SoundID.NPCHit34 && target.HitSound != SoundID.NPCHit36 && target.HitSound != SoundID.NPCHit42 &&
target.HitSound != SoundID.NPCHit49 && target.HitSound != SoundID.NPCHit52 && target.HitSound != SoundID.NPCHit53 &&
target.HitSound != SoundID.NPCHit54 && target.HitSound != null) || target.type == NPCType<Providence>() ||
target.type == NPCType<ScornEater>())
target.type == NPCType<ScornEater>() || target.type == NPCType<Yharon>())
{
return true;
}