mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* 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:
parent
a95083b7d2
commit
96b2d7f2a6
3 changed files with 16 additions and 4 deletions
|
@ -47,6 +47,19 @@ import mage.game.permanent.Permanent;
|
|||
import mage.players.Player;
|
||||
|
||||
/**
|
||||
* As Meandering Towershell returns to the battlefield because of the delayed triggered ability,
|
||||
* you choose which opponent or opposing planeswalker it’s attacking. It doesn’t have to attack
|
||||
* the same opponent or opposing planeswalker that it was when it was exiled.
|
||||
*
|
||||
* If Meandering Towershell enters the battlefield attacking, it wasn’t declared as an attacking
|
||||
* creature that turn. Abilities that trigger when a creature attacks, including its own triggered
|
||||
* ability, won’t 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 don’t own, you’ll control it when it returns to the battlefield.
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
|
|
@ -195,7 +195,9 @@ public class Combat implements Serializable, Copyable<Combat> {
|
|||
Player player = game.getPlayer(attackerId);
|
||||
//20101001 - 508.1d
|
||||
checkAttackRequirements(player, game);
|
||||
player.selectAttackers(game, attackerId);
|
||||
if (!game.getPlayer(game.getActivePlayerId()).getAvailableAttackers(game).isEmpty()) {
|
||||
player.selectAttackers(game, attackerId);
|
||||
}
|
||||
if (game.isPaused() || game.gameOver(null)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -52,9 +52,6 @@ public class DeclareAttackersStep extends Step {
|
|||
|
||||
@Override
|
||||
public boolean skipStep(Game game, UUID activePlayerId) {
|
||||
if (game.getPlayer(activePlayerId).getAvailableAttackers(game).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
return super.skipStep(game, activePlayerId);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue