Skip to content

Card.GetBaseDefense ​

Source Code | Usage Examples | Card Functions

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

Signature ​

Card.GetBaseDefense(Card c) → int

lua
c:GetBaseDefense()

Parameters ​

  • Card c ​

    The card to get the original DEF of.

Returns ​

  • int ​

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


def-related, original-property