forked from External/mage
Add new EventType CREATURE_BLOCKS, which fires once per blocker (rather than once per blocker per attacker). Updated some abilities and cards to use it (still incomplete). Fixes #4285
This commit is contained in:
parent
1c688a0345
commit
d5e56f523d
16 changed files with 50 additions and 39 deletions
|
|
@ -704,6 +704,9 @@ public class Combat implements Serializable, Copyable<Combat> {
|
|||
for (CombatGroup group : groups) {
|
||||
group.acceptBlockers(game);
|
||||
}
|
||||
for (UUID blockerId : getBlockers()) {
|
||||
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.CREATURE_BLOCKS, blockerId, null));
|
||||
}
|
||||
}
|
||||
|
||||
public void resumeSelectBlockers(Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue