Commit db4019d2 authored by salix5's avatar salix5

is_able_to_enter_bp()

parent 4de6cf48
...@@ -2330,6 +2330,6 @@ int32 field::check_chain_target(uint8 chaincount, card * pcard) { ...@@ -2330,6 +2330,6 @@ int32 field::check_chain_target(uint8 chaincount, card * pcard) {
} }
int32 field::is_able_to_enter_bp() { int32 field::is_able_to_enter_bp() {
return ((core.duel_options & DUEL_ATTACK_FIRST_TURN) || infos.turn_id != 1) return ((core.duel_options & DUEL_ATTACK_FIRST_TURN) || infos.turn_id != 1)
&& infos.phase < PHASE_BATTLE && infos.phase < PHASE_BATTLE_START
&& !is_player_affected_by_effect(infos.turn_player, EFFECT_CANNOT_BP); && !is_player_affected_by_effect(infos.turn_player, EFFECT_CANNOT_BP);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment