mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 14:02:05 -08:00
[6ED] Add 4 cards
This commit is contained in:
parent
ef571dc00f
commit
b746bf108a
19 changed files with 1049 additions and 3 deletions
|
|
@ -46,8 +46,9 @@ public class UnblockedPredicate implements Predicate<Permanent> {
|
|||
public boolean apply(Permanent input, Game game) {
|
||||
if (input.isAttacking()) {
|
||||
if ((game.getPhase().getStep().getType() == PhaseStep.DECLARE_BLOCKERS
|
||||
|| game.getPhase().getStep().getType() == PhaseStep.COMBAT_DAMAGE)
|
||||
&& game.getStep().getStepPart() == Step.StepPart.PRIORITY) {
|
||||
&& game.getStep().getStepPart() == Step.StepPart.PRIORITY)
|
||||
|| game.getPhase().getStep().getType() == PhaseStep.FIRST_COMBAT_DAMAGE
|
||||
|| game.getPhase().getStep().getType() == PhaseStep.COMBAT_DAMAGE) {
|
||||
CombatGroup combatGroup = game.getCombat().findGroup(input.getId());
|
||||
if (combatGroup != null) {
|
||||
return combatGroup.getBlockers().isEmpty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue