mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
Merge pull request #4443 from Ketsuban/fix-unified-strike-2
Fix Unified Strike 2
This commit is contained in:
commit
937a814ba6
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…
Add table
Add a link
Reference in a new issue