Skip to content

Duel.GetCardDefenseFromCode

Source Code | Usage Examples | Duel Functions

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

Signature

Duel.GetCardDefenseFromCode(int id) → int

lua
Duel.GetCardDefenseFromCode(id)

Parameters

  • int id

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

Returns

  • int

    The DEF of the card registered in the database.


passcode-related