Crew rules change

This commit is contained in:
tool4EvEr
2022-02-10 22:11:51 +01:00
parent c8c90c26ab
commit 4232d9f376
3 changed files with 3 additions and 4 deletions

View File

@@ -3356,8 +3356,7 @@ public class CardFactoryUtil {
final String power = k[1];
// tapXType has a special check for withTotalPower, and NEEDS it to be "+withTotalPowerGE"
// So adding redundant YouCtrl to simplify matters even though its unnecessary
String effect = "AB$ Animate | Cost$ tapXType<Any/Creature.YouCtrl+withTotalPowerGE" + power + "> | " +
String effect = "AB$ Animate | Cost$ tapXType<Any/Creature.Other+withTotalPowerGE" + power + "> | " +
"CostDesc$ Crew " + power + " (Tap any number of creatures you control with total power " + power +
" or more: | Crew$ True | Secondary$ True | Defined$ Self | Types$ Creature,Artifact | " +
"RemoveCardTypes$ True | StackDescription$ SpellDescription | SpellDescription$ CARDNAME becomes" +

View File

@@ -184,7 +184,7 @@ public class CostTapType extends CostPartWithList {
}
final int amount = this.getAbilityAmount(ability);
return (typeList.size() != 0) && (typeList.size() >= amount);
return typeList.size() != 0 && typeList.size() >= amount;
}
/* (non-Javadoc)

View File

@@ -127,7 +127,7 @@ public class InputSelectEntitiesFromList<T extends GameEntity> extends InputSele
if (sa != null && sa.hasParam("Crew")) {
msg.append("\nCrewing: ").
append(CardLists.getTotalPower((FCollection<Card>)getSelected(), true, true)).
append(" / ").append(TextUtil.fastReplace(sa.getPayCosts().getCostPartByType(CostTapType.class).getType(), "Creature.YouCtrl+withTotalPowerGE", ""));
append(" / ").append(TextUtil.fastReplace(sa.getPayCosts().getCostPartByType(CostTapType.class).getType(), "Creature.Other+withTotalPowerGE", ""));
}
return msg.toString();