Merge fix

This commit is contained in:
Oleg Agafonov 2020-02-11 23:02:46 +04:00
parent b5acf64772
commit 5a5c49229e
2 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ public final class CardUtil {
if (reduceCount > 0) {
int restToReduce = reduceCount;
// first run - priority single option costs (generic)
// first run - priority for single option costs (generic)
for (ManaCost manaCost : manaCosts) {
if (manaCost instanceof SnowManaCost) {
adjustedCost.add(manaCost);
@ -156,7 +156,7 @@ public final class CardUtil {
}
if (manaCost instanceof MonoHybridManaCost) {
// current implemention supports only 1 hybrid cost per object
// current implemention supports reduce from left to right hybrid cost without cost parts announce
MonoHybridManaCost mono = (MonoHybridManaCost) manaCost;
int colorless = mono.getOptions().get(1).getGeneric();
if (restToReduce != 0 && colorless > 0) {