Skip to content

Card.GetDefense

Source Code | Usage Examples | Card Functions

Gets the current DEF of a card.

Signature

Card.GetDefense(Card c) → int

lua
c:GetDefense()

Parameters

  • Card c

    The card to get the DEF of.

Returns

  • int

    The card's DEF. For monsters with ? DEF, returns 0.


def-related