mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Crew rules change
This commit is contained in:
@@ -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" +
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user