Skip to content

Duel.GetCardAttackFromCode

Source Code | Usage Examples | Duel Functions

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

Signature

Duel.GetCardAttackFromCode(int id) → int

lua
Duel.GetCardAttackFromCode(id)

Parameters

  • int id

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

Returns

  • int

    The ATK of the card registered in the database.


passcode-related