* Benthic Explorer - Fixed mana type calculation.

* DynamicManaEffect - Fixed mana type calculation.
Some code clean up.
This commit is contained in:
LevelX2 2020-08-07 17:15:06 +02:00
parent 66d5b915db
commit 457557852e
7 changed files with 148 additions and 193 deletions

View file

@ -12,6 +12,8 @@ import mage.players.Player;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import mage.constants.ManaType;
/**
* @author North
@ -116,6 +118,11 @@ public class DynamicManaEffect extends ManaEffect {
return netMana;
}
@Override
public Set<ManaType> getProducableManaTypes(Game game, Ability source) {
return ManaType.getManaTypesFromManaList(baseMana);
}
@Override
public Mana produceMana(Game game, Ability source) {
Mana computedMana = new Mana();