Skip to content

Duel.GetCardRaceFromCode

Duel Functions

Gets a card's race from its card id (the value returned is the same as the one returned with Card.Race on a card object corresponding to a card with such id)

Signature

Duel.GetCardRaceFromCode(int code) → int

lua
Duel.GetCardRaceFromCode(code)

Parameters

Returns


under-construction