Skip to content

Card.Defense

Source Code | Usage Examples | Card Functions

Returns a card's original DEF.

Signature

Card.Defense(Card c) → int

lua
c:Defense()

Parameters

  • Card c

    The card to get the original DEF of.

Returns

  • int

    The card's original DEF.

Overload

Card.Defense(Card c, int id) → nil

lua
c:Defense(id)

Changes a card's DEF.

Parameters

  • Card c

    The card to change the DEF of.

  • int id

    The new DEF value.


def-related