Card.SetReason
Source Code | Usage Examples | Card Functions
Sets the reason of "c" as "reason". If "keep" is set to true "c" will maintain the previous reason that it had.
Signature
Card.SetReason(Card c, int reason, [bool keep = false]) → nil
lua
c:SetReason(reason,keep)