Skip to content

Card.CanSummonOrSet

Source Code | Usage Examples | Card Functions

Checks if a card can be Normal Summoned or Set.

Signature

Card.CanSummonOrSet(Card c, bool ignore_count, [Effect|nil e = nil, int min = 0]) → bool

lua
c:CanSummonOrSet(ignore_count,e,min)

Parameters

  • Card c

    The card to check.

  • bool ignore_count

    If set to true, ignores the standard rule that limits Normal Summon/Sets to 1 per turn.

  • Effect|nil e

    Optional. Defaults to nil.

    If provided, checks if the card can be summoned by this effect.

  • int min

    Optional. Defaults to 0.

    The minimum number of tributes required.

Returns

  • bool

    If the card can be either Normal Summoned or Set.