aux.WitchcrafterDiscardCost
Source Code | Usage Examples | aux
Functions
Auxiliary function for the discard cost of "Witchcrafter" monsters. Performs the actual discard part, considering a minimum (minc) and maximum (maxc) amount of cards to discard. It also handles cards with EFFECT_WITCHCRAFTER_REPLACE, setting the reason for REASON_COST for those, or REASON_COST+REASON_DISCARD if a card is sent from hand instead.
Signature
aux.WitchcrafterDiscardCost(any f
, int minc
, int maxc
) → nil
lua
aux.WitchcrafterDiscardCost(f,minc,maxc)