EffectFlag
Constants that modify the behavior of effects, set as the second argument of Effect.SetProperty
.
Constant | HEX | DEC | Summary |
---|---|---|---|
EFFECT_FLAG_INITIAL | 0x1 | 1 | An original effect of a card. |
EFFECT_FLAG_FUNC_VALUE | 0x2 | 2 | Has a function as an associated value. |
EFFECT_FLAG_COUNT_LIMIT | 0x4 | 4 | Can only be used a limited number of times. |
EFFECT_FLAG_FIELD_ONLY | 0x8 | 8 | Does not belong to any card. |
EFFECT_FLAG_CARD_TARGET | 0x10 | 16 | Targets a card(s). |
EFFECT_FLAG_IGNORE_RANGE | 0x20 | 32 | Affects cards of a player(s) in all locations. |
EFFECT_FLAG_ABSOLUTE_TARGET | 0x40 | 64 | Affected locations do not change when the card switches control. |
EFFECT_FLAG_IGNORE_IMMUNE | 0x80 | 128 | Can affect cards that are unaffected by effects. |
EFFECT_FLAG_SET_AVAILABLE | 0x100 | 256 | Also applies to face-down cards. |
EFFECT_FLAG_CANNOT_NEGATE | 0x200 | 512 | Can become forbidden even if it cannot be negated. |
EFFECT_FLAG_CANNOT_DISABLE | 0x400 | 1024 | Effect cannot be negated. |
EFFECT_FLAG_PLAYER_TARGET | 0x800 | 2048 | Affects a player(s). |
EFFECT_FLAG_BOTH_SIDE | 0x1000 | 4096 | Can be used by either player. |
EFFECT_FLAG_COPY_INHERIT | 0x2000 | 8192 | Will be copied when copying card effects even if it's not an initial effect. |
EFFECT_FLAG_DAMAGE_STEP | 0x4000 | 16384 | Can be activated during the Damage Step. |
EFFECT_FLAG_DAMAGE_CAL | 0x8000 | 32768 | Can be activated during damage calculation. |
EFFECT_FLAG_DELAY | 0x10000 | 65536 | Cannot miss the timing. |
EFFECT_FLAG_SINGLE_RANGE | 0x20000 | 131072 | Applies only to the card it's registered to while in a given location. |
EFFECT_FLAG_UNCOPYABLE | 0x40000 | 262144 | Cannot be copied by copying effects. |
EFFECT_FLAG_OATH | 0x80000 | 524288 | Removed if the activation of the effect that registered it is negated. |
EFFECT_FLAG_SPSUM_PARAM | 0x100000 | 1048576 | Special Summons in a given position and side of the field. |
EFFECT_FLAG_REPEAT | 0x200000 | 2097152 | Changes are recalculated each gamestate. |
EFFECT_FLAG_NO_TURN_RESET | 0x400000 | 4194304 | Count limit does not reset each turn. |
EFFECT_FLAG_EVENT_PLAYER | 0x800000 | 8388608 | Used by the event player. |
EFFECT_FLAG_OWNER_RELATE | 0x1000000 | 16777216 | Does not apply if the card that registered it is no longer related. |
EFFECT_FLAG_CANNOT_INACTIVATE | 0x2000000 | 33554432 | Effect activation cannot be negated. |
EFFECT_FLAG_CLIENT_HINT | 0x4000000 | 67108864 | Uses a string as a user hint. |
EFFECT_FLAG_CONTINUOUS_TARGET | 0x8000000 | 134217728 | Continuously targets a card. |
EFFECT_FLAG_LIMIT_ZONE | 0x10000000 | 268435456 | Limits the available zones on the field when activated. |
EFFECT_FLAG_IMMEDIATELY_APPLY | 0x80000000 | 2147483648 | Applies immediately after being registered. |