mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Actual fix for Daredevil Dragster
This commit is contained in:
@@ -437,7 +437,9 @@ public class PhaseHandler implements java.io.Serializable {
|
|||||||
eventEndCombat = new GameEventCombatEnded(attackers, blockers);
|
eventEndCombat = new GameEventCombatEnded(attackers, blockers);
|
||||||
}
|
}
|
||||||
endCombat();
|
endCombat();
|
||||||
playerTurn.resetAttackedThisCombat();
|
for(Player player : game.getPlayers()) {
|
||||||
|
player.resetCombatantsThisCombat();
|
||||||
|
}
|
||||||
|
|
||||||
if (eventEndCombat != null) {
|
if (eventEndCombat != null) {
|
||||||
game.fireEvent(eventEndCombat);
|
game.fireEvent(eventEndCombat);
|
||||||
|
|||||||
@@ -2774,7 +2774,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
game.setActivePlanes(currentPlanes);
|
game.setActivePlanes(currentPlanes);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void resetAttackedThisCombat() {
|
public final void resetCombatantsThisCombat() {
|
||||||
// resets the status of attacked/blocked this phase
|
// resets the status of attacked/blocked this phase
|
||||||
CardCollectionView list = getCardsIn(ZoneType.Battlefield);
|
CardCollectionView list = getCardsIn(ZoneType.Battlefield);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user