- Added Ashcloud Phoenix

This commit is contained in:
swordshine
2014-09-23 11:21:15 +00:00
parent 6e35fee7ba
commit edf8c58754
4 changed files with 14 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ public class EndOfTurn extends Phase {
public final void executeAt() {
// reset mustAttackEntity for me
game.getPhaseHandler().getPlayerTurn().setMustAttackEntity(null);
// TODO: convert this to a delayed trigger
Player activePlayer = game.getPhaseHandler().getPlayerTurn();
if (activePlayer.hasKeyword("At the beginning of this turn's end step, you lose the game.")) {
final Card source = new Card(game.nextCardId());