Card.GetMetatable
Source Code | Usage Examples | Card
Functions
Similar to Duel.GetMetatable, but if current_code is true it behaves as if it were Duel.GetMetatable(c:GetCode()), otherwise it returns the __index field of the card's object (this difference only matters when a card's id is not its original one, like when copying names via effect or having an alias)
Signature
Card.GetMetatable(Card c
, int current_code
) → table
lua
c:GetMetatable(current_code)