refactor: deduplicate combat damage steps (#11566)

This commit is contained in:
xenohedron 2023-12-21 22:44:01 -05:00 committed by GitHub
parent 0862461d6b
commit eec5c5b2e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 95 deletions

View file

@ -1,5 +1,3 @@
package mage.game.turn;
import mage.constants.TurnPhase;
@ -18,8 +16,8 @@ public class CombatPhase extends Phase {
this.steps.add(new BeginCombatStep());
this.steps.add(new DeclareAttackersStep());
this.steps.add(new DeclareBlockersStep());
this.steps.add(new FirstCombatDamageStep());
this.steps.add(new CombatDamageStep());
this.steps.add(new CombatDamageStep(true));
this.steps.add(new CombatDamageStep(false));
this.steps.add(new EndOfCombatStep());
}