Skip to content

Cost.RemoveCounterFromSelf ​

Source Code | Usage Examples | Cost Functions

Creates a baseline cost function used for effects that remove a counter(s) from the activating card itself as cost, such as You can remove 1 Spell Counter from this card; (e.g. "Breaker the Magical Warrior").

Signature ​

Cost.RemoveCounterFromSelf(int counter_type, int count) → EffectCost

lua
Cost.RemoveCounterFromSelf(counter_type,count)

Parameters ​

  • int counter_type ​

    The type of counter to remove.

  • int count ​

    The amount of counters to remove.

Returns ​

  • EffectCost ​

    The cost function generated based on the given parameters.