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