Skip to content

Card.Level

Source Code | Usage Examples | Card Functions

Returns a card's original level, rank, or link-rating.

Signature

Card.Level(Card c) → int

lua
c:Level()

Parameters

  • Card c

    The card to get the original level, rank, or link-rating of.

Returns

  • int

    The card's original level, rank, or link-rating.

Overload

Card.Level(Card c, int id) → nil

lua
c:Level(id)

Changes a card's level, rank, or link-rating.

Parameters

  • Card c

    The card to change the level, rank, or link-rating of.

  • int id

    The new level, rank, or link-rating value.


level-related, rank-related, link-related