Card.AddMonsterAttribute
Transforms a card (Card c) to a monster. The CardType will become TYPE_MONSTER + extra_type. Uses the values if provided, otherwise uses the card's own values in Database. Be aware that the values added using this (except for CardType) will be reset when the card is flipped face-down.
Signature
Card.AddMonsterAttribute(Card c
, int extra_type
, [int attribute
, int race
, int level
, int atk
, int def
]) → nil
lua
c:AddMonsterAttribute(extra_type,attribute,race,level,atk,def)
Parameters
Card
c
(To be added)
int
extra_type
(To be added)
int
attribute
Optional.
(To be added)
int
race
Optional.
(To be added)
int
level
Optional.
(To be added)
int
atk
Optional.
(To be added)
int
def
Optional.
(To be added)