mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
fix crypt rats + added new test method
This commit is contained in:
parent
5e8c03f0d9
commit
dca676617d
4 changed files with 122 additions and 79 deletions
|
|
@ -65,7 +65,7 @@ public class CryptRats extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// {X}: Crypt Rats deals X damage to each creature and each player. Spend only black mana on X.
|
||||
Effect effect = new DamageEverythingEffect(new ManacostVariableValue(), new FilterPermanent());
|
||||
Effect effect = new DamageEverythingEffect(new ManacostVariableValue());
|
||||
effect.setText("{this} deals X damage to each creature and each player. Spend only black mana on X");
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect,new ManaCostsImpl("{X}"));
|
||||
VariableCost variableCost = ability.getManaCostsToPay().getVariableCosts().get(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue