Commit Graph
2 Commits
Author SHA1 Message Date
donnyandClaude Fable 5.1 bcd19c9cd0 core: a Tag team on Master Rule 4/5 has a Field slot per partner (TICKET-384, v1.5.0)
Proposal 45. field::has_two_fields() (DUEL_TAG_MODE on Master Rule 4 or 5) gives
each team Spell/Trap sequence 5 for the partner who plays the team's first turn and
6 for the other; player_info::tag_partner flips in tag_swap and get_szone_size is 7
there. A Field Spell lands in the playing partner's slot (get_fzone_landing) and
replaces only that card; a control change takes the free slot when the playing
partner's is taken; a Set offers only the landing slot's bit. LOCATION_FZONE covers
both slots in card_state::is_location, filter_matching_card, filter_field_card,
is_location_useable and Duel.IsEnvironment; get_field_card(p, LOCATION_FZONE, 0) is
the playing partner's field, else the other, and 1 the remaining one. Singles, Match
and Master Rule 3 (slot 6 = a Pendulum Zone) are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-24 18:35:20 -07:00
donnyandClaude Fable 5.1 26f9baf9b4 core: import the rules core (ygopro-core 973672dc + fork patches)
The vendored ocgcore from the Unity repo (Tools/YGOLegacy/ocgcore at dev
HEAD). Upstream is nanahira/ygopro-core at 973672dc9ce7cb49f47173277ab1ad0e318b7593;
the seven files that differ from it carry the fork's core patches, already
applied: 0001 face-down Token setcode, 0004 effect damage step outside a
chain, 0008 Sandbox god mode, 0015 tag first seat holds the hand, 0022
attack preview, 0024 attack preview legality. Generated build/ output is
left out.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:16 -07:00