Card.CopyEffect 
Source Code | Usage Examples | Card Functions
Temporarily adds to a card the effects of the card with the specified id, that reset according to the provided reset flags.
Signature 
Card.CopyEffect(Card c, int code, int reset_flag, [int reset_count = 1]) → int
c:CopyEffect(code,reset_flag,reset_count)Parameters 
Card
cThe card that will receive the copy of the effects.
int
codeThe passcode/ID of the card to copy effects from.
int
reset_flagComposite Reset value used to reset the copied effects. If
RESET_PHASEis included in the value,RESET_SELF_TURNandRESET_OPPO_TURNare also added automatically.int
reset_countOptional. Defaults to
1.The reset count applied with the reset values (e.g. to be used with phase-related resets).
Returns 
int 
A unique id representing the instance of the copied effects, usable with
RESET_COPYto reset all the effects gained by this function. May also be-1, indicating failure to copy the effects.