forked from External/mage
Fixed test
This commit is contained in:
parent
81e5650972
commit
219ab89bcc
8 changed files with 40 additions and 26 deletions
|
|
@ -81,13 +81,13 @@ public class DynamicManaAbility extends ActivatedManaAbilityImpl {
|
|||
|
||||
@Override
|
||||
public List<Mana> getNetMana(Game game) {
|
||||
List<Mana> newNetMana = new ArrayList<>();
|
||||
List<Mana> netMana = new ArrayList<>();
|
||||
if (game != null) {
|
||||
// TODO: effects from replacement effects like Mana Reflection are not considered yet
|
||||
// TODO: effects that need a X payment (e.g. Mage-Ring Network) return always 0
|
||||
newNetMana.addAll(manaEffect.getNetMana(game, this));
|
||||
netMana.addAll(manaEffect.getNetMana(game, this));
|
||||
}
|
||||
return newNetMana;
|
||||
return netMana;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue