* Meandering Towershell - Fixed that it did not return to attack if no other creature was on the battlefield that could attack.

This commit is contained in:
LevelX2 2014-09-20 17:40:46 +02:00
parent a95083b7d2
commit 96b2d7f2a6
3 changed files with 16 additions and 4 deletions

View file

@ -47,6 +47,19 @@ import mage.game.permanent.Permanent;
import mage.players.Player; import mage.players.Player;
/** /**
* As Meandering Towershell returns to the battlefield because of the delayed triggered ability,
* you choose which opponent or opposing planeswalker its attacking. It doesnt have to attack
* the same opponent or opposing planeswalker that it was when it was exiled.
*
* If Meandering Towershell enters the battlefield attacking, it wasnt declared as an attacking
* creature that turn. Abilities that trigger when a creature attacks, including its own triggered
* ability, wont trigger.
*
* On the turn Meandering Towershell attacks and is exiled, raid abilities will see it as a creature
* that attacked. Conversely, on the turn Meandering Towershell enters the battlefield attacking,
* raid abilities will not.
*
* If you attack with a Meandering Towershell that you dont own, youll control it when it returns to the battlefield.
* *
* @author LevelX2 * @author LevelX2
*/ */

View file

@ -195,7 +195,9 @@ public class Combat implements Serializable, Copyable<Combat> {
Player player = game.getPlayer(attackerId); Player player = game.getPlayer(attackerId);
//20101001 - 508.1d //20101001 - 508.1d
checkAttackRequirements(player, game); checkAttackRequirements(player, game);
if (!game.getPlayer(game.getActivePlayerId()).getAvailableAttackers(game).isEmpty()) {
player.selectAttackers(game, attackerId); player.selectAttackers(game, attackerId);
}
if (game.isPaused() || game.gameOver(null)) { if (game.isPaused() || game.gameOver(null)) {
return; return;
} }

View file

@ -52,9 +52,6 @@ public class DeclareAttackersStep extends Step {
@Override @Override
public boolean skipStep(Game game, UUID activePlayerId) { public boolean skipStep(Game game, UUID activePlayerId) {
if (game.getPlayer(activePlayerId).getAvailableAttackers(game).isEmpty()) {
return true;
}
return super.skipStep(game, activePlayerId); return super.skipStep(game, activePlayerId);
} }