Duel creation options.
(OcgDuelMode)[Exclude<keyof OcgDuelMode, `MODE_${string}`>]
ProjectIgnis' EDOPro Core built for WebAssembly using emscripten.
Duel creation options.
(OcgDuelMode)[Exclude<keyof OcgDuelMode, `MODE_${string}`>]
Duel creation options.
MODE_SPEED: bigint
Speed duel ruleset.
TEST_MODE: 1
ATTACK_FIRST_TURN: 2
Allow battle phase in the first turn.
USE_TRAPS_IN_NEW_CHAIN: 4
Continuous traps effects cannot be activated until the end of the chain they're flipped in.
SIX_STEP_BATLLE_STEP: 8
After damage calculation substep actually separated sub steps.
PSEUDO_SHUFFLE: 16
Disable decks shuffling.
TRIGGER_WHEN_PRIVATE_KNOWLEDGE: 32
Searching the deck doesn't require knowledge checking.
SIMPLE_AI: 64
Automate some responses with a simple AI.
RELAY: 128
Is tag duel.
OBSOLETE_IGNITION: 256
Master Rule 1 obsolete ignition effects.
FIRST_TURN_DRAW: 512
Draw on the first turn.
ONE_FACEUP_FIELD: 1024
Only allow a single face-up field spell.
PZONE: 2048
Enable pendulum zones.
SEPARATE_PZONE: 4096
Pendulum zones are separated from S/T zones.
EMZONE: 8192
Enable extra monster zone.
FSX_MMZONE: 16384
Fusion, synchro and xyz from the extra deck can go into the main monster zones.
TRAP_MONSTERS_NOT_USE_ZONE: 32768
Trap monsters do not take a spell/trap zone aswell as a main monster zone.
RETURN_TO_DECK_TRIGGERS: 65536
Return to main deck or extra deck do not trigger "leaving the field" effects.
TRIGGER_ONLY_IN_LOCATION: 131072
Trigger effect cannot be activated if the card is moved to other place.
SPSUMMON_ONCE_OLD_NEGATE: 262144
Negated summons and special summons count towards any limit.
CANNOT_SUMMON_OATH_OLD: 524288
Negated summons and special summons count towards any limit.
NO_STANDBY_PHASE: 1048576
Disable standby phase (rush duels).
NO_MAIN_PHASE_2: 2097152
Disable main phase 2 (rush and speed duels).
THREE_COLUMNS_FIELD: 4194304
Only 3 main monster zones and spell/trap zones (rush and speed duels).
DRAW_UNTIL_5: 8388608
In draw phase draw until 5 cards in hand (rush duels).
NO_HAND_LIMIT: 16777216
Disable hand limit checks.
UNLIMITED_SUMMONS: 33554432
Remove limit of 1 normal summon per turn (rush duels).
INVERTED_QUICK_PRIORITY: 67108864
Inverted quick effects priority (rush duels).
EQUIP_NOT_SENT_IF_MISSING_TARGET: 134217728
The to be equipped monster is not sent to the grave if the equip target is no longer valid (goat duels).
ZERO_ATK_DESTROYED: 268435456
If a 0 atk monster attacks a 0 atk monster, both get destroyed (goat duels).
STORE_ATTACK_REPLAYS: 536870912
Attack replays can be used later (goat duels).
SINGLE_CHAIN_IN_DAMAGE_SUBSTEP: 1073741824
One chain per damage sub step (goat duels).
CAN_REPOS_IF_NON_SUMPLAYER: 2147483648
Cards can be repositioned if the control changed (goat duels).
TCG_SEGOC_NONPUBLIC: 4294967296
TCG Simultaneous Effects Go On Chain for non public knowledge.
TCG_SEGOC_FIRSTTRIGGER: 8589934592
TCG Simultaneous Effects Go On Chain.
Add Package
deno add jsr:@n1xx1/ocgcore-wasm
Import symbol
import { OcgDuelMode } from "@n1xx1/ocgcore-wasm";
---- OR ----
Import directly with a jsr specifier
import { OcgDuelMode } from "jsr:@n1xx1/ocgcore-wasm";
Add Package
npx jsr add @n1xx1/ocgcore-wasm
Import symbol
import { OcgDuelMode } from "@n1xx1/ocgcore-wasm";
Add Package
yarn dlx jsr add @n1xx1/ocgcore-wasm
Import symbol
import { OcgDuelMode } from "@n1xx1/ocgcore-wasm";
Add Package
pnpm dlx jsr add @n1xx1/ocgcore-wasm
Import symbol
import { OcgDuelMode } from "@n1xx1/ocgcore-wasm";
Add Package
bunx jsr add @n1xx1/ocgcore-wasm
Import symbol
import { OcgDuelMode } from "@n1xx1/ocgcore-wasm";