Skip to content

Card.GetType ​

Source Code | Usage Examples | Card Functions

Gets the current type of a Card (Card c) where (Card scard) if provided checks the monster that (Card c) would be used as material, (int sumtype) is for checking the SummonType and (int playerid) is the player checking the type.

Signature ​

Card.GetType(Card c, [Card|nil scard, int sumtype, int playerid]) → int

lua
c:GetType(scard,sumtype,playerid)

Parameters ​

Returns ​


under-construction