Card.IsBaseDefense
Source Code | Usage Examples | Card Functions
Returns true if a card's original DEF is equal to a given value. Original DEF might differ from the printed DEF of the card due to effects that change original DEF. Use Card.IsTextDefense if you need to check for the printed DEF instead.
Signature
Card.IsBaseDefense(Card c, int def) → bool
lua
c:IsBaseDefense(def)