mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Merge branch 'master' into 'master'
Leonin Vanguard fix + Medomai See merge request core-developers/forge!4372
This commit is contained in:
@@ -257,11 +257,6 @@ public class CombatUtil {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case "CARDNAME can't attack during extra turns.":
|
||||
if (game.getPhaseHandler().getPlayerTurn().isExtraTurn()) {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -539,6 +539,10 @@ public class StaticAbility extends CardTraitBase implements IIdentifiable, Clone
|
||||
if (ph.isPlayerTurn(controller)) {
|
||||
return false;
|
||||
}
|
||||
} else if (condition.equals("ExtraTurn")) {
|
||||
if (!game.getPhaseHandler().getPlayerTurn().isExtraTurn()) {
|
||||
return false;
|
||||
}
|
||||
} else if (condition.equals("PermanentOfEachColor")) {
|
||||
if ((controller.getColoredCardsInPlay(MagicColor.Constant.BLACK).isEmpty()
|
||||
|| controller.getColoredCardsInPlay(MagicColor.Constant.BLUE).isEmpty()
|
||||
|
||||
Reference in New Issue
Block a user