mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
[DMC] Fix Historian's Boon. Remove unused and incorrectly-implemented EventType.ABILITY_TRIGGERED
This commit is contained in:
parent
59d99e5ba2
commit
a9cf4154e5
3 changed files with 6 additions and 12 deletions
|
|
@ -1524,12 +1524,6 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
}
|
||||
}
|
||||
restoreState(bookmark, triggeredAbility.getRule(), game); // why restore is needed here? (to remove the triggered ability from the stack because of no possible targets)
|
||||
GameEvent event = new GameEvent(
|
||||
GameEvent.EventType.ABILITY_TRIGGERED,
|
||||
ability.getId(), ability, ability.getControllerId()
|
||||
);
|
||||
game.getState().setValue(event.getId().toString(), ability.getTriggerEvent());
|
||||
game.fireEvent(event);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue