Skip to content

Card.UpdateLevel

Source Code | Usage Examples | Card Functions

Applies a level change to card c, equal to int amount. 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 levels successfully changed.

Signature

Card.UpdateLevel(Card c, int amount, [int reset, Card rc]) → int

lua
c:UpdateLevel(amount,reset,rc)

Parameters

Returns


under-construction