* Fixed that AI used activated abilities for Battlefield as the card was on hand (fix #588).

This commit is contained in:
LevelX2 2014-10-03 13:12:03 +02:00
parent b3b51f9f1e
commit 54f0fd8fc1
5 changed files with 14 additions and 8 deletions

View file

@ -13,7 +13,14 @@ public class ArrogantBloodlordTest extends CardTestPlayerBase {
// blocked trigger
@Test
public void testCardBlocked() {
// Arrogant Bloodlord
// 4/4
// Whenever Arrogant Bloodlord blocks or becomes blocked by a creature with power 1 or less,
// destroy Arrogant Bloodlord at end of combat.
addCard(Zone.BATTLEFIELD, playerA, "Arrogant Bloodlord");
// Wall of Air
// 1/5
// Defender, flying
addCard(Zone.BATTLEFIELD, playerB, "Wall of Air");
attack(1, playerA, "Arrogant Bloodlord");
@ -26,7 +33,7 @@ public class ArrogantBloodlordTest extends CardTestPlayerBase {
assertLife(playerB, 20);
assertPermanentCount(playerA, "Arrogant Bloodlord", 0);
assertPermanentCount(playerB, "Wall of Air", 1);
}
}
// blocks trigger
@Test
public void testCardBlocker() {