* Offering - Fixed handling of hybrid mana in casting costs of offered creatures (fixes #6961).

This commit is contained in:
LevelX2 2020-08-14 10:25:47 +02:00
parent 0cda2d9635
commit 27b5c920f7
3 changed files with 93 additions and 6 deletions

View file

@ -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());