using System;
namespace CalamityMod.NPCs
{
///
/// This attribute makes projectiles exempt from pierce resistance
///
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class PierceResistExceptionAttribute : Attribute
{
///
/// Set this to true to indicate this projectile is only exempt from piercing resistance when attacking NPCs with a single large hitbox.
///
public bool OnlyForSingleHitbox { get; }
public PierceResistExceptionAttribute(bool onlyForSingleHitbox = false)
{
OnlyForSingleHitbox = onlyForSingleHitbox;
}
}
}