Card.UpdateRank
Source Code | Usage Examples | Card Functions
Applies a rank change to card c, equal to int amt.If the reset values (int reset) are not provided, the default is RESET_EVENT (+RESETS_STANDARD_DISABLE if rc == c, or just +RESETS_STANDARD). If the reason card rc is not provided, uses as default card c. Returns the amount of ranks successfully changed.
Signature
Card.UpdateRank(Card c, int amount, [int reset, Card rc]) → int
lua
c:UpdateRank(amount,reset,rc)Parameters
Card
c(To be added)
int
amount(To be added)
int
resetOptional.
(To be added)
Card
rcOptional.
(To be added)