Skip to content

Cost.SelfChangePosition ​

Source Code | Usage Examples | Cost Functions

Creates a baseline cost function used for effects that change the battle position of the activating card itself as cost, such as You can change this face-down card to face-up Defense Position; (e.g. "Enneacraft - Atori.MAR").

Signature ​

Cost.SelfChangePosition(int position) → EffectCost

lua
Cost.SelfChangePosition(position)

Parameters ​

  • int position ​

    The position to change the card to.

Returns ​

  • EffectCost ​

    The cost function generated based on the given parameters.