Reason
Constants representing the reasons for actions performed in the game.
Constant | HEX | DEC | Summary |
---|---|---|---|
REASON_DESTROY | 0x1 | 1 | Caused by destroying a card(s). |
REASON_RELEASE | 0x2 | 2 | Caused by Tributing a card(s). |
REASON_TEMPORARY | 0x4 | 4 | Banishing a monster temporarily. |
REASON_MATERIAL | 0x8 | 8 | Caused by using a card as material for a Summon. |
REASON_SUMMON | 0x10 | 16 | Caused by Normal Summoning a monster. |
REASON_BATTLE | 0x20 | 32 | Caused by destroying a card(s) by battle. |
REASON_EFFECT | 0x40 | 64 | Performed during the resolution of an effect. |
REASON_COST | 0x80 | 128 | Performed as costs. |
REASON_ADJUST | 0x100 | 256 | Caused by adjusting a player's hand size at the end of the turn. |
REASON_LOST_TARGET | 0x200 | 512 | Caused by an losing the equip target of an Equip Card. |
REASON_RULE | 0x400 | 1024 | Caused by game mechanics. |
REASON_SPSUMMON | 0x800 | 2048 | Caused by Special Summoning a monster. |
REASON_DISSUMMON | 0x1000 | 4096 | Caused by negating a Summon. |
REASON_FLIP | 0x2000 | 8192 | (Unused reason value) |
REASON_DISCARD | 0x4000 | 16384 | Caused by discarding a card(s). |
REASON_RETURN | 0x20000 | 131072 | Caused by returning a banished card to the GY. |
REASON_FUSION | 0x40000 | 262144 | Caused by using a card as Fusion Material. |
REASON_SYNCHRO | 0x80000 | 524288 | Caused by Synchro Summoning a monster. |
REASON_RITUAL | 0x100000 | 1048576 | Caused by using a card as Ritual Material. |
REASON_XYZ | 0x200000 | 2097152 | Caused by using a card as Xyz Material. |
REASON_REPLACE | 0x1000000 | 16777216 | Caused by replacing card destruction. |
REASON_DRAW | 0x2000000 | 33554432 | Caused by drawing a card(s). |
REASON_REDIRECT | 0x4000000 | 67108864 | Caused by redirecting a card's destination. |
REASON_EXCAVATE | 0x8000000 | 134217728 | Performed after excavating a card. |
REASON_REVEAL | 0x8000000 | 134217728 | Performed after excavating a card. |
REASON_LINK | 0x10000000 | 268435456 | Caused by using a card as Link Material. |