Class CombatModifierDef

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

Additional reversible combat state, suitable for support, concealment, dash and tower-disabling effects.

public sealed class CombatModifierDef
Inheritance
CombatModifierDef
Inherited Members

Constructors

CombatModifierDef(float, bool, bool, bool)

Creates a reversible modifier; stacked flags use independent reference counts.

public CombatModifierDef(float rangeScale = 1, bool disableAttacks = false, bool ignoreBlocking = false, bool untargetable = false)

Parameters

rangeScale float
disableAttacks bool
ignoreBlocking bool
untargetable bool

Properties

DisableAttacks

Prevents normal attacks and generic ability activation without stopping movement or recovery.

public bool DisableAttacks { get; }

Property Value

bool

IgnoreBlocking

Prevents enemy interception and immediately releases existing blockers.

public bool IgnoreBlocking { get; }

Property Value

bool

RangeScale

Multiplier for attack ranges, including melee contact; area geometry is not scaled.

public float RangeScale { get; }

Property Value

float

Untargetable

Prevents attack selection and releases enemy interception. Effects retain their separate eligibility rules.

public bool Untargetable { get; }

Property Value

bool