mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
updated False Orders to match Balduvian Warlord
This commit is contained in:
parent
d41ca9c2e1
commit
b6b7a9c0f9
1 changed files with 3 additions and 2 deletions
|
@ -159,14 +159,15 @@ class FalseOrdersUnblockEffect extends OneShotEffect {
|
|||
game.getCombat().addBlockingGroup(permanent.getId(), chosenPermanent.getId(), controller.getId(), game); // 702.21h
|
||||
if (notYetBlocked) {
|
||||
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.CREATURE_BLOCKED, chosenPermanent.getId(), null));
|
||||
Set<MageObjectReference> morSet = new HashSet<>();
|
||||
morSet.add(new MageObjectReference(chosenPermanent, game));
|
||||
for (UUID bandedId : chosenPermanent.getBandedCards()) {
|
||||
CombatGroup bandedGroup = game.getCombat().findGroup(bandedId);
|
||||
if (bandedGroup != null && chosenGroup.getBlockers().size() == 1) {
|
||||
morSet.add(new MageObjectReference(bandedId, game));
|
||||
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.CREATURE_BLOCKED, bandedId, null));
|
||||
}
|
||||
}
|
||||
Set<MageObjectReference> morSet = new HashSet<>();
|
||||
morSet.add(new MageObjectReference(chosenPermanent, game));
|
||||
String key = UUID.randomUUID().toString();
|
||||
game.getState().setValue("becameBlocked_" + key, morSet);
|
||||
game.fireEvent(GameEvent.getEvent(
|
||||
|
|
Loading…
Reference in a new issue