UNPKG

cr.js

Version:
32 lines (21 loc) 699 B
# Card ?> Represents a player's card. ## Attributes > **`name`** - The name of the card. **Returns:** `str` > **`rarity`** - The rarity of the card. **Returns:** `str` > **`level`** - The level of the card. **Returns:** `int` > **`toUpdate`** - The amount of cards required to level up the card. **Returns:** `int` > **`cardId`** - The card's ID. **Returns:** `int` > **`elixir`** - The amount of elixr required to spawn the card.. **Returns:** `int` > **`arena`** - The arena the card's unlocked. **Returns:** `int` > **`description`** - The description of the card. **Returns:** `int` > **`decklink`** - The decklink of the card. **Returns:** `int`