Skip to content

Card.IsCanBeXyzMaterial

Source Code | Card Functions

Checks if a card (Card c) can be used as an Xyz Material. If (Card sc) is provided, checks if it can be used for that card's Xyz Summon. If tp and the reason are provided, checks if that player can attach the card with the given reason.

Signature

Card.IsCanBeXyzMaterial(Card c, [Card|nil sc, int tp, int reason]) → bool

lua
c:IsCanBeXyzMaterial(sc,tp,reason)

Parameters

Returns


under-construction