Added remove self method for modifiers

This commit is contained in:
David Higueros committed 2026-06-19 12:43:28 -06:00
1 parent 90921ff786
commit d64eaddb0e
1 file changed
+8
+8
View File
@@ -128,4 +128,12 @@ public abstract class BaseModifier : IOptionable
/// </summary>
/// <returns>True if the player can vent, false otherwise. Null for no effect.</returns>
public virtual bool? CanVent() => null;
/// <summary>
/// Removes this modifier instance from the player.
/// </summary>
public void RemoveSelf()
{
ModifierComponent?.RemoveModifier(this);
}
}