mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Not use VAssignGenericAmount dialog for TwoEach ability
This commit is contained in:
@@ -63,7 +63,7 @@ public class ManaEffect extends SpellAbilityEffect {
|
|||||||
boolean differentChoice = abMana.getOrigProduced().contains("Different");
|
boolean differentChoice = abMana.getOrigProduced().contains("Different");
|
||||||
ColorSet fullOptions = colorOptions;
|
ColorSet fullOptions = colorOptions;
|
||||||
// Use specifyManaCombo if possible
|
// Use specifyManaCombo if possible
|
||||||
if (colorsNeeded == null && amount > 1) {
|
if (colorsNeeded == null && amount > 1 && !sa.hasParam("TwoEach")) {
|
||||||
Map<Byte, Integer> choices = p.getController().specifyManaCombo(sa, colorOptions, amount, differentChoice);
|
Map<Byte, Integer> choices = p.getController().specifyManaCombo(sa, colorOptions, amount, differentChoice);
|
||||||
for (Map.Entry<Byte, Integer> e : choices.entrySet()) {
|
for (Map.Entry<Byte, Integer> e : choices.entrySet()) {
|
||||||
Byte chosenColor = e.getKey();
|
Byte chosenColor = e.getKey();
|
||||||
@@ -74,9 +74,6 @@ public class ManaEffect extends SpellAbilityEffect {
|
|||||||
choiceString.append(" ");
|
choiceString.append(" ");
|
||||||
}
|
}
|
||||||
choiceString.append(choice);
|
choiceString.append(choice);
|
||||||
if (sa.hasParam("TwoEach")) {
|
|
||||||
choiceString.append(" ").append(choice);
|
|
||||||
}
|
|
||||||
--count;
|
--count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user