Fixed test

This commit is contained in:
Oleg Agafonov 2020-07-11 21:01:40 +04:00
parent 81e5650972
commit 219ab89bcc
8 changed files with 40 additions and 26 deletions

View file

@ -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