Skip to content

Card.ReplaceEffect

Source Code | Usage Examples | Card Functions

Temporarily replace all effects of a card (Card c) with the effect of card with the specified card code (int code) that resets according to the ascribed reset flag (int reset_flag)

Signature

Card.ReplaceEffect(Card c, int code, int reset_flag, [int reset_count]) → int

lua
c:ReplaceEffect(code,reset_flag,reset_count)

Parameters

Returns


under-construction