Skip to content

Duel.GetCardLevelFromCode ​

Source Code | Usage Examples | Duel Functions

Retrieves the level of a given card passcode/ID from the card database.

Signature ​

Duel.GetCardLevelFromCode(int id) → int

lua
Duel.GetCardLevelFromCode(id)

Parameters ​

  • int id ​

    The passcode/ID of the card to get the level of.

Returns ​

  • int ​

    The level of the card registered in the database.


passcode-related