mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
fixed various instances of mana costs which don't include braces
This commit is contained in:
parent
d0b90379f6
commit
0f1375ca60
34 changed files with 38 additions and 38 deletions
|
|
@ -231,7 +231,7 @@ public class TargetPriorityTest extends CardTestPlayerBaseAI {
|
|||
|
||||
@Test
|
||||
public void test_targetAmount_NormalCase() {
|
||||
Ability ability = new SimpleActivatedAbility(Zone.ALL, new DamageMultiEffect(3), new ManaCostsImpl("R"));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.ALL, new DamageMultiEffect(3), new ManaCostsImpl<>("{R}"));
|
||||
ability.addTarget(new TargetCreaturePermanentAmount(3));
|
||||
addCustomCardWithAbility("damage 3", playerA, ability);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
||||
|
|
@ -258,7 +258,7 @@ public class TargetPriorityTest extends CardTestPlayerBaseAI {
|
|||
@Test
|
||||
public void test_targetAmount_BadCase() {
|
||||
// choose targets as enters battlefield (e.g. can't be canceled)
|
||||
SpellAbility spell = new SpellAbility(new ManaCostsImpl("R"), "damage 3", Zone.HAND);
|
||||
SpellAbility spell = new SpellAbility(new ManaCostsImpl<>("{R}"), "damage 3", Zone.HAND);
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageMultiEffect(3));
|
||||
ability.addTarget(new TargetCreaturePermanentAmount(3));
|
||||
addCustomCardWithSpell(playerA, spell, ability, CardType.ENCHANTMENT);
|
||||
|
|
@ -293,7 +293,7 @@ public class TargetPriorityTest extends CardTestPlayerBaseAI {
|
|||
public void test_targetAmount_Performance() {
|
||||
int cardsMultiplier = 3;
|
||||
|
||||
Ability ability = new SimpleActivatedAbility(Zone.ALL, new DamageMultiEffect(3), new ManaCostsImpl("R"));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.ALL, new DamageMultiEffect(3), new ManaCostsImpl<>("{R}"));
|
||||
ability.addTarget(new TargetCreaturePermanentAmount(3));
|
||||
addCustomCardWithAbility("damage 3", playerA, ability);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ public class CommanderAffinityTest extends CardTestCommanderDuelBase {
|
|||
public void test_Gained_Affinity() {
|
||||
// bug: Mycosynth Golem did not allow my commander, Karn, Silver Golem, to cost 0 even though I had 7+ artifacts on the board.
|
||||
|
||||
Ability ability = new SimpleActivatedAbility(Zone.ALL, new CreateTokenEffect(new ArtifactWallToken(), 7), new ManaCostsImpl("R"));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.ALL, new CreateTokenEffect(new ArtifactWallToken(), 7), new ManaCostsImpl<>("{R}"));
|
||||
addCustomCardWithAbility("generate tokens", playerA, ability);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue