Evil Smasher prefix fix

This commit is contained in:
Altixal committed 2026-05-31 12:55:11 +07:00
1 parent b1d4feafc9
commit fde77d89fd
1 file changed
+1 -1
+1 -1
View File
@@ -203,7 +203,7 @@ namespace CalamityMod.Prefixes
// MELEE (includes tools and whips)
// Melee-ranged hybrid weapons prioritize Legendary if available, otherwise go for Unreal
if ((item.CountsAsClass<MeleeDamageClass>() || item.CountsAsClass<SummonMeleeSpeedDamageClass>()) && !(item.CountsAsClass<MeleeRangedHybridDamageClass>() && !supportsLegendary) && !(item.type == ItemType<TheBurningSky>()))
if ((item.CountsAsClass<MeleeDamageClass>() || item.CountsAsClass<SummonMeleeSpeedDamageClass>() || item.type == ItemType<EvilSmasher>()) && !(item.CountsAsClass<MeleeRangedHybridDamageClass>() && !supportsLegendary) && !(item.type == ItemType<TheBurningSky>()))
{
// Terrarian (has its own special "Legendary" for marketing reasons)
// Other items that want to use Legendary2 are also compatible