mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Fix Unified Strike for real this time
This commit is contained in:
parent
299f78d710
commit
87c16cb09f
1 changed files with 6 additions and 2 deletions
|
@ -76,7 +76,7 @@ class UnifiedStrikeEffect extends OneShotEffect {
|
|||
|
||||
UnifiedStrikeEffect() {
|
||||
super(Outcome.Exile);
|
||||
this.staticText = "Exile target attacking creature if its power is less than or equal to the number of Soldiers on the battlefield.";
|
||||
this.staticText = "Exile target attacking creature if its power is less than or equal to the number of Soldiers on the battlefield";
|
||||
}
|
||||
|
||||
UnifiedStrikeEffect(final UnifiedStrikeEffect effect) {
|
||||
|
@ -102,6 +102,10 @@ class UnifiedStrikeEffect extends OneShotEffect {
|
|||
source.getSourceId(),
|
||||
game
|
||||
).size();
|
||||
return creature.getPower().getValue() <= soldierCount;
|
||||
boolean successful = creature.getPower().getValue() <= soldierCount;
|
||||
if (successful) {
|
||||
player.moveCards(creature, Zone.EXILED, source, game);
|
||||
}
|
||||
return successful;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue