Skip to content

Card.GetTextDefense

Source Code | Usage Examples | Card Functions

Gets the printed DEF of a card. This might differ from the original DEF of the card due to effects that change original DEF. Use Card.GetBaseDefense if you need the original DEF instead.

Signature

Card.GetTextDefense(Card c) → int

lua
c:GetTextDefense()

Parameters

  • Card c

    The card to get the printed DEF of.

Returns

  • int

    The card's printed DEF. For monsters with ? DEF, returns -2.


def-related, original-property