Merge branch 'moraug' into 'master'

ZNR: Moraug, Fury of Akoum and support

Closes #1571

See merge request core-developers/forge!3163
This commit is contained in:
Michael Kamensky
2020-09-21 05:48:44 +00:00
2 changed files with 15 additions and 0 deletions

View File

@@ -1295,6 +1295,9 @@ public class CardFactoryUtil {
if (sq[0].contains("CardNumColors")) {
return doXMath(CardUtil.getColors(c).countColors(), m, c);
}
if (sq[0].contains("CardNumAttacksThisTurn")) {
return doXMath(c.getDamageHistory().getCreatureAttacksThisTurn(), m, c);
}
if (sq[0].contains("ChosenNumber")) {
Integer i = c.getChosenNumber();
return doXMath(i == null ? 0 : i, m, c);