Skip to content

Card.IsDefenseBelow

Source Code | Card Functions

Checks if a card (Card c) has DEF equal or below the specified number (int defense), will return false if the card has ? DEF and is not face-up on the field.

Signature

Card.IsDefenseBelow(Card c, int def) → bool

lua
c:IsDefenseBelow(def)

Parameters

Returns


under-construction