DuelOption
Constants representing rules enforced in a Duel. These are usually set automatically depending on the type of Duel being played.
Constant | HEX | DEC | Summary |
---|---|---|---|
DUEL_TEST_MODE | 0x1 | 1 | The user can control both players. |
DUEL_ATTACK_FIRST_TURN | 0x2 | 2 | The starting player can attack on their first turn. |
DUEL_USE_TRAPS_IN_NEW_CHAIN | 0x4 | 4 | Continuous Traps cannot activate effects in the same chain they're activated. |
DUEL_PSEUDO_SHUFFLE | 0x10 | 16 | The Deck is never shuffled. |
DUEL_TRIGGER_WHEN_PRIVATE_KNOWLEDGE | 0x20 | 32 | Trigger Effects can activate when sent to a location that is private knowledge. |
DUEL_SIMPLE_AI | 0x40 | 64 | Includes a simple AI player. |
DUEL_RELAY | 0x80 | 128 | Players in the same team switch to the next when one loses. |
DUEL_OCG_OBSOLETE_IGNITION | 0x100 | 256 | The turn player can activate an Ignition Effect after a Chain or Summon. |
DUEL_OBSOLETE_IGNITION | 0x100 | 256 | The turn player can activate an Ignition Effect after a Chain or Summon. |
DUEL_1ST_TURN_DRAW | 0x200 | 512 | The starting player draws a card on their first turn. |
DUEL_1_FIELD | 0x400 | 1024 | Only 1 field can be face-up in the Field Zone at once. |
DUEL_PZONE | 0x800 | 2048 | Includes Pendulum Zones integrated in the Spell & Trap Zones. |
DUEL_SEPARATE_PZONE | 0x1000 | 4096 | Includes Pendulum Zones separate from Spell & Trap Zones. |
DUEL_EMZONE | 0x2000 | 8192 | Includes the Extra Monster Zones. |
DUEL_FSX_MMZONE | 0x4000 | 16384 | Fusion, Synchro, and Xyz Monsters can be Special Summoned to Main Monster Zones. |
DUEL_TRAP_MONSTERS_NOT_USE_ZONE | 0x8000 | 32768 | Trap Monsters do not occupy a Spell & Trap Zone. |
DUEL_RETURN_TO_DECK_TRIGGERS | 0x10000 | 65536 | Trigger Effects can activate when the card is sent to the Deck. |
DUEL_TRIGGER_ONLY_IN_LOCATION | 0x20000 | 131072 | Trigger Effects cannot activate if the card is moved. |
DUEL_MODE_MR5 | 0x2e800 | 190464 | Master Rule (April 1, 2020 revision) |
DUEL_SPSUMMON_ONCE_OLD_NEGATE | 0x40000 | 262144 | Negated Special Summons do not count for Special Summon limits. |
DUEL_CANNOT_SUMMON_OATH_OLD | 0x80000 | 524288 | Negated Summons do not count for restrictions that care about performed Summons. |
DUEL_MODE_MR1 | 0xd0700 | 853760 | Master Rule |
DUEL_MODE_MR2 | 0xd0700 | 853760 | Master Rule 2 |
DUEL_OBSOLETE_RULING | 0xd0700 | 853760 | Master Rule |
DUEL_MODE_MR3 | 0xd1800 | 858112 | Master Rule 3 |
DUEL_MODE_MR4 | 0xd2800 | 862208 | New Master Rule |
DUEL_NO_STANDBY_PHASE | 0x100000 | 1048576 | No Standby Phase. |
DUEL_NO_MAIN_PHASE_2 | 0x200000 | 2097152 | No Main Phase 2. |
DUEL_3_COLUMNS_FIELD | 0x400000 | 4194304 | There are only 3 Main Monster Zones and 3 Spell & Trap Zones. |
DUEL_MODE_SPEED | 0x620000 | 6422528 | Speed Duel rules |
DUEL_DRAW_UNTIL_5 | 0x800000 | 8388608 | Players draw cards until they have 5 cards in their hand in the Draw Phase. |
DUEL_NO_HAND_LIMIT | 0x1000000 | 16777216 | Players have no hand size limit. |
DUEL_UNLIMITED_SUMMONS | 0x2000000 | 33554432 | Players can perform any number of Normal Summons/Sets. |
DUEL_INVERTED_QUICK_PRIORITY | 0x4000000 | 67108864 | Traps can't chain to each other or miss timing, but can activate in Damage Step. |
DUEL_MODE_RUSH | 0x7f20200 | 133300736 | Rush Duel rules |
DUEL_EQUIP_NOT_SENT_IF_MISSING_TARGET | 0x8000000 | 134217728 | Equip Cards are not sent to the GY if their target leaves the field. |
DUEL_0_ATK_DESTROYED | 0x10000000 | 268435456 | 0-ATK monsters are destroyed when battling each other. |
DUEL_STORE_ATTACK_REPLAYS | 0x20000000 | 536870912 | Battle replays rewind back to the beginning of the Battle Step. |
DUEL_SINGLE_CHAIN_IN_DAMAGE_SUBSTEP | 0x40000000 | 1073741824 | Only one Chain can occur during each substep of the Damage Step. |
DUEL_CAN_REPOS_IF_NON_SUMPLAYER | 0x80000000 | 2147483648 | Players can change the battle position of monsters they did not Summon. |
DUEL_TCG_SEGOC_NONPUBLIC | 0x100000000 | 4294967296 | Private Trigger Effects have the same timing as other Trigger Effects. |
DUEL_TCG_SEGOC_FIRSTTRIGGER | 0x200000000 | 8589934592 | Simultaneous trigger effects on a chain follow TCG ordering. |
DUEL_TCG_FAST_EFFECT_IGNITION | 0x400000000 | 17179869184 | Ignition Effects in Chain Link 1 are treated as fast effects. |
DUEL_MODE_GOAT | 0x7f80d072c | 34226374444 | Goat Format rules. |
DUEL_NORMAL_SUMMON_FACEUP_DEF | 0x1000000000 | 68719476736 | Monsters can be Normal Summoned in face-up Defense Position. |