mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed ninjutsu ability being usable after blockers have been removed
This commit is contained in:
parent
06b3e70d4e
commit
d36d87eb15
1 changed files with 2 additions and 3 deletions
|
@ -35,8 +35,7 @@ import mage.game.permanent.Permanent;
|
|||
import mage.game.turn.Step;
|
||||
|
||||
/**
|
||||
* Checks if an attacking creature is unblocked after the
|
||||
* declare blockers step.
|
||||
* Checks if an attacking creature is unblocked after the declare blockers step.
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
@ -52,7 +51,7 @@ public class UnblockedPredicate implements Predicate<Permanent> {
|
|||
|| game.getPhase().getStep().getType() == PhaseStep.END_COMBAT) {
|
||||
CombatGroup combatGroup = game.getCombat().findGroup(input.getId());
|
||||
if (combatGroup != null) {
|
||||
return combatGroup.getBlockers().isEmpty();
|
||||
return !combatGroup.getBlocked();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue