mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Wildfire Eternal - Fixed that the ability triggered multiple times if more than one player blocked during the turn (fixes #4466).
This commit is contained in:
parent
7afc157ba0
commit
f9ca04dfbb
3 changed files with 3 additions and 4 deletions
|
|
@ -66,7 +66,7 @@ public class AttacksAndIsNotBlockedTriggeredAbility extends TriggeredAbilityImpl
|
|||
|
||||
@Override
|
||||
public boolean checkEventType(GameEvent event, Game game) {
|
||||
return event.getType() == EventType.DECLARED_BLOCKERS;
|
||||
return event.getType() == EventType.DECLARE_BLOCKERS_STEP;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ public abstract class Step implements Serializable {
|
|||
public void priority(Game game, UUID activePlayerId, boolean resuming) {
|
||||
if (hasPriority) {
|
||||
stepPart = StepPart.PRIORITY;
|
||||
game.fireEvent(new GameEvent(stepEvent, null, null, activePlayerId));
|
||||
game.playPriority(activePlayerId, resuming);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue