mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Merge origin/master
This commit is contained in:
commit
af7f7488d8
1 changed files with 3 additions and 2 deletions
|
@ -39,6 +39,7 @@ import mage.constants.SubType;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
|
@ -98,9 +99,9 @@ class TwoHeadedGiantEffect extends OneShotEffect {
|
|||
boolean head2 = player.flipCoin(game);
|
||||
if (head1 == head2) {
|
||||
if (head1) {
|
||||
new GainAbilitySourceEffect(DoubleStrikeAbility.getInstance()).apply(game, source);
|
||||
game.addEffect(new GainAbilitySourceEffect(DoubleStrikeAbility.getInstance(), Duration.EndOfTurn), source);
|
||||
} else {
|
||||
new GainAbilitySourceEffect(new MenaceAbility()).apply(game, source);
|
||||
game.addEffect(new GainAbilitySourceEffect(new MenaceAbility(), Duration.EndOfTurn), source);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue