ComputerUtilCombat: add Melee boost for toughness too

This commit is contained in:
Hanmac
2016-09-11 23:58:59 +00:00
parent bb74d1d143
commit 8247310cc0

View File

@@ -1483,6 +1483,8 @@ public class ComputerUtilCombat {
String bonus = new String(source.getSVar(def));
if (bonus.contains("TriggerCount$NumBlockers")) {
bonus = bonus.replace("TriggerCount$NumBlockers", "Number$1");
} else if (bonus.contains("TriggeredPlayersDefenders$Amount")) { // for Melee
bonus = bonus.replace("TriggeredPlayersDefenders$Amount", "Number$1");
}
toughness += CardFactoryUtil.xCount(source, bonus);
}