Cost
Helper functions for working with costs.
Functions
Cost.AND- Combines multiple cost functions into one.Cost.Choice- Creates a cost function that gives the player a choice between different costs.Cost.Detach- Deleted alias ofCost.DetachFromSelf.Cost.DetachFromSelf- Creates a cost function that detaches materials from the activating card.Cost.Discard- Creates a cost function for effects that discard a card(s) as cost.Cost.HardOncePerBattle- Creates a cost function for "hard once per battle" effects.Cost.HardOncePerChain- Creates a cost function for "hard once per chain" effects.Cost.HintSelectedEffect- Cost function for effects that need to display which effect was activated.Cost.PayLP- Creates a cost function for effects that pay LP as cost.Cost.RemoveCounterFromField- Creates a cost function for effects that remove a counter from the field.Cost.RemoveCounterFromSelf- Creates a cost function for effects that remove a counter from the card itself.Cost.SelfBanish- Cost function for effects that banish the card itself as cost.Cost.SelfChangePosition- Creates a cost function for effects that change the card's own position as cost.Cost.SelfDiscard- Cost function for effects that discard the card itself as cost.Cost.SelfDiscardToGrave- Cost function for effects that discard the card itself to the GY as cost.Cost.SelfRelease- Alias ofCost.SelfTribute.Cost.SelfReveal- Cost function for effects that reveal the card itself as cost.Cost.SelfToDeck- Cost function for effects that shuffle the card itself to the Deck as cost.Cost.SelfToExtra- Cost function for effects that return the card itself to the Extra Deck as cost.Cost.SelfToGrave- Cost function for effects that send the card itself to the GY as cost.Cost.SelfToHand- Cost function for effects that return the card itself to the hand as cost.Cost.SelfTribute- Cost function for effects that Tribute the card itself as cost.Cost.SoftOncePerBattle- Creates a cost function for "soft once per battle" effects.Cost.SoftOncePerChain- Creates a cost function for "soft once per chain" effects.