mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
[AVR] 13 cards with Soulbond
This commit is contained in:
parent
1bf0e216de
commit
8759b6de33
16 changed files with 1074 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
|||
package org.mage.test.cards.abilities.keywords;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.abilities.Abilities;
|
||||
import mage.abilities.AbilitiesImpl;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.filter.Filter;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
|
@ -322,4 +325,27 @@ public class SoulbondKeywordTest extends CardTestPlayerBase {
|
|||
assertPowerToughness(playerA, "Trusted Forcemage", 3, 3);
|
||||
assertPowerToughness(playerA, "Phantasmal Bear", 3, 3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests Soulbond that adds an ability to both creatures
|
||||
*/
|
||||
@Test
|
||||
public void testGrantingAbility() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Elite Vanguard");
|
||||
addCard(Constants.Zone.HAND, playerA, "Nearheath Pilgrim");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains", 2);
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Nearheath Pilgrim");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPowerToughness(playerA, "Nearheath Pilgrim", 2, 1);
|
||||
assertPowerToughness(playerA, "Elite Vanguard", 2, 1);
|
||||
|
||||
Abilities abilities = new AbilitiesImpl();
|
||||
abilities.add(LifelinkAbility.getInstance());
|
||||
assertAbilities(playerA, "Nearheath Pilgrim", abilities);
|
||||
assertAbilities(playerA, "Elite Vanguard", abilities);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue