Merge origin/master

This commit is contained in:
LevelX2 2018-04-20 20:10:37 +02:00
commit af7f7488d8

View file

@ -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;