mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
- Fixed #6935
This commit is contained in:
parent
c3de6bf8a0
commit
bfbb76fcf1
1 changed files with 7 additions and 6 deletions
|
|
@ -10,8 +10,8 @@ import mage.game.turn.TurnMod;
|
|||
public class AdditionalCombatPhaseEffect extends OneShotEffect {
|
||||
|
||||
public AdditionalCombatPhaseEffect() {
|
||||
super(Outcome.Benefit);
|
||||
staticText = "After this phase, there is an additional combat phase";
|
||||
super(Outcome.Benefit);
|
||||
staticText = "After this phase, there is an additional combat phase";
|
||||
}
|
||||
|
||||
public AdditionalCombatPhaseEffect(String staticText) {
|
||||
|
|
@ -20,17 +20,18 @@ public class AdditionalCombatPhaseEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
public AdditionalCombatPhaseEffect(final AdditionalCombatPhaseEffect effect) {
|
||||
super(effect);
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AdditionalCombatPhaseEffect copy() {
|
||||
return new AdditionalCombatPhaseEffect(this);
|
||||
return new AdditionalCombatPhaseEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
game.getState().getTurnMods().add(new TurnMod(source.getControllerId(), TurnPhase.COMBAT, null, false));
|
||||
return true;
|
||||
game.getState().getTurnMods().add(new TurnMod(game.getState().getActivePlayerId(),
|
||||
TurnPhase.COMBAT, null, false));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue