Fixed another bug of renown.

This commit is contained in:
LevelX2 2015-07-05 11:51:51 +02:00
parent b2ed48da87
commit a4f76a1fb8
2 changed files with 3 additions and 2 deletions

View file

@ -172,9 +172,9 @@ public class RenownTest extends CardTestPlayerBase {
assertLife(playerA, 20);
assertLife(playerB, 6);
assertPowerToughness(playerA, "Rhox Maulers", 4, 4);
assertPowerToughness(playerA, "Rhox Maulers", 6, 6); // renown again in turn 7 after the attack
Permanent rhoxMaulers = getPermanent("Rhox Maulers", playerA);
Assert.assertEquals("may not be renown", false, rhoxMaulers.isRenown());
Assert.assertEquals("may not be renown", true, rhoxMaulers.isRenown());
}

View file

@ -176,6 +176,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
this.maxBlockedBy = permanent.maxBlockedBy;
this.transformed = permanent.transformed;
this.monstrous = permanent.monstrous;
this.renown = permanent.renown;
this.pairedCard = permanent.pairedCard;
this.timesLoyaltyUsed = permanent.timesLoyaltyUsed;