mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
* Bloodlord of Vaasgoth - Fixed that it did not apply bloodthirst properly to other vampires (fixes #1792).
This commit is contained in:
parent
cdb37813ca
commit
f56e9b1de1
3 changed files with 14 additions and 8 deletions
|
|
@ -65,15 +65,16 @@ public class BloodthirstTest extends CardTestPlayerBase {
|
|||
*/
|
||||
@Test
|
||||
public void testBloodlord() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 3);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 8);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
||||
// Bloodthirst 3
|
||||
// Whenever you cast a Vampire creature spell, it gains bloodthirst 3
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Bloodlord of Vaasgoth");
|
||||
addCard(Zone.HAND, playerA, "Bloodlord of Vaasgoth"); // {3}{B}{B}
|
||||
addCard(Zone.HAND, playerA, "Barony Vampire"); // 3/2 {2}{B}
|
||||
addCard(Zone.HAND, playerA, "Lightning Bolt");
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Lightning Bolt", playerB);
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Bloodlord of Vaasgoth");
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Barony Vampire");
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
|
|
@ -89,6 +90,9 @@ public class BloodthirstTest extends CardTestPlayerBase {
|
|||
}
|
||||
}
|
||||
Assert.assertTrue("Baron Vampire is missing the bloodthirst ability", bloodthirstFound);
|
||||
assertPermanentCount(playerA, "Bloodlord of Vaasgoth", 1);
|
||||
assertPowerToughness(playerA, "Bloodlord of Vaasgoth", 6, 6);
|
||||
assertPermanentCount(playerA, "Barony Vampire", 1);
|
||||
assertPowerToughness(playerA, "Barony Vampire", 6, 5);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue