mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
fixed Neyith of the Dire Hunt triggering for each player that blocks at the same time
This commit is contained in:
parent
c1b8ae2865
commit
509bca7224
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ class NeyithOfTheDireHuntTriggeredAbility extends TriggeredAbilityImpl {
|
|||
@Override
|
||||
public boolean checkEventType(GameEvent event, Game game) {
|
||||
return event.getType() == GameEvent.EventType.BATCH_FIGHT
|
||||
|| event.getType() == GameEvent.EventType.DECLARED_BLOCKERS;
|
||||
|| event.getType() == GameEvent.EventType.DECLARE_BLOCKERS_STEP;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -93,7 +93,7 @@ class NeyithOfTheDireHuntTriggeredAbility extends TriggeredAbilityImpl {
|
|||
.filter(Objects::nonNull)
|
||||
.map(Controllable::getControllerId)
|
||||
.anyMatch(this.getControllerId()::equals);
|
||||
case DECLARED_BLOCKERS:
|
||||
case DECLARE_BLOCKERS_STEP:
|
||||
return game.getCombat()
|
||||
.getGroups()
|
||||
.stream()
|
||||
|
|
Loading…
Reference in a new issue