- Fixed Weight of Conscience

This commit is contained in:
swordshine
2014-04-10 08:35:52 +00:00
parent 1ef35c1387
commit 2962a34aae
2 changed files with 4 additions and 4 deletions

View File

@@ -112,9 +112,9 @@ public class CostTapType extends CostPartWithList {
String type = this.getType();
boolean sameType = false;
if (type.contains("sharesCreatureTypeWith")) {
if (type.contains(".sharesCreatureTypeWith")) {
sameType = true;
type = type.replace("sharesCreatureTypeWith", "");
type = type.replace(".sharesCreatureTypeWith", "");
}
boolean totalPower = false;
String totalP = "";

View File

@@ -991,9 +991,9 @@ public class HumanCostDecision extends CostDecisionMakerBase {
Integer c = cost.convertAmount();
boolean sameType = false;
if (type.contains("sharesCreatureTypeWith")) {
if (type.contains(".sharesCreatureTypeWith")) {
sameType = true;
type = type.replace("sharesCreatureTypeWith", "");
type = type.replace(".sharesCreatureTypeWith", "");
}
boolean totalPower = false;