forked from External/mage
* Benthic Explorer - Fixed mana type calculation.
* DynamicManaEffect - Fixed mana type calculation. Some code clean up.
This commit is contained in:
parent
66d5b915db
commit
457557852e
7 changed files with 148 additions and 193 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue