Class AtkBuffer
- Namespace
- AshesOfVelsingrad.Data
- Assembly
- Ashes of Velsingrad.dll
public sealed class AtkBuffer : StatusEffect<UnitSystem>, IStatusEffect
- Inheritance
-
AtkBuffer
- Implements
- Inherited Members
Constructors
AtkBuffer(int, ModifierType, float)
public AtkBuffer(int duration, AovDataStructures.ModifierType modifierType, float amount)
Parameters
durationintmodifierTypeAovDataStructures.ModifierTypeamountfloat
Methods
OnApply(IEffectTarget<UnitSystem>)
Called when this effect is applied to a target. Override this to implement custom logic (e.g., visual/audio feedback, stat changes).
public override void OnApply(IEffectTarget<UnitSystem> target)
Parameters
targetIEffectTarget<UnitSystem>The target receiving the effect.
OnRemove(IEffectTarget<UnitSystem>)
Called when this effect is removed from a target. Override this to implement cleanup logic (e.g., removing buffs, stopping visual/audio feedback).
public override void OnRemove(IEffectTarget<UnitSystem> target)
Parameters
targetIEffectTarget<UnitSystem>The target losing the effect.