Skip to content

EFFECT_SWAP_AD

Source Code | Usage Examples | (Global) Constants | EffectCode constants

The raw ATK and DEF of a monster affected by an effect with this code are switched. "Raw" here means the new ATK/DEF are where calculations for the actual ATK/DEF starts, i.e., the monster's actual ATK and DEF are further calculated by applying previously-registered effects that update the monster's ATK or DEF. To switch the actual values, ignoring all other previous effects that change the monster's ATK/DEF, use EFFECT_SWAP_ATTACK_FINAL and EFFECT_SWAP_DEFENSE_FINAL instead.

Value

109