core: Tag duel has no Battle Phase on turns 1-3; the fourth duelist battles first
The official Tag Duel rules: duelists 1A, 2A and 1B cannot enter their Battle Phase; 2B (turn 4) is the first who can. The core blocked turn 1 only, so team B's first duelist could attack on turn 2. One helper, field::is_opening_turn_without_bp, now decides for the idle command and for Duel.IsAbleToEnterBP: turns 1-3 in DUEL_TAG_MODE, turn 1 otherwise, DUEL_ATTACK_FIRST_TURN still lifts it. Rules only; no contract change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
ffd50fa147
commit
c3b5e6e13b
5 files changed
+18
-2
No files matched your search
+7
-1
@@ -3704,8 +3704,14 @@ int32_t field::check_spself_from_hand_trigger(const chain& ch) const {
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
// [YGOL] Tag: the first three duelists (1A, 2A, 1B) have no Battle Phase; the fourth is the first who can battle.
|
||||
int32_t field::is_opening_turn_without_bp() {
|
||||
if(core.duel_options & DUEL_ATTACK_FIRST_TURN)
|
||||
return FALSE;
|
||||
return infos.turn_id <= ((core.duel_options & DUEL_TAG_MODE) ? 3 : 1);
|
||||
}
|
||||
int32_t field::is_able_to_enter_bp() {
|
||||
return ((core.duel_options & DUEL_ATTACK_FIRST_TURN) || infos.turn_id != 1)
|
||||
return !is_opening_turn_without_bp()
|
||||
&& infos.phase < PHASE_BATTLE_START
|
||||
&& !is_player_affected_by_effect(infos.turn_player, EFFECT_CANNOT_BP);
|
||||
}
|
||||
Reference in new issue
Block a user