Card.GetMainCardType
Source Code | Usage Examples | Card Functions
Returns the current main type of a card (TYPE_MONSTER, TYPE_SPELL, or TYPE_TRAP).
Signature
Card.GetMainCardType(Card c) → int
lua
c:GetMainCardType()