forked from External/mage
* Offering - Fixed handling of hybrid mana in casting costs of offered creatures (fixes #6961).
This commit is contained in:
parent
0cda2d9635
commit
27b5c920f7
3 changed files with 93 additions and 6 deletions
|
|
@ -310,6 +310,11 @@ public class ManaOptions extends ArrayList<Mana> {
|
|||
forceManaDeduplication();
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the given mana value to all existing options
|
||||
*
|
||||
* @param addMana Mana to add to the existing options
|
||||
*/
|
||||
public void addMana(Mana addMana) {
|
||||
if (isEmpty()) {
|
||||
this.add(new Mana());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue