mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
CostTapType: for Crew add Keyword "CARDNAME can't crew a vehicle",
now the cost does check that the creatures does not have this.
This commit is contained in:
@@ -1093,6 +1093,11 @@ public class HumanCostDecision extends CostDecisionMakerBase {
|
||||
CardCollection typeList = CardLists.getValidCards(player.getCardsIn(ZoneType.Battlefield), type.split(";"), player,
|
||||
source, ability);
|
||||
typeList = CardLists.filter(typeList, Presets.UNTAPPED);
|
||||
|
||||
if (ability.hasParam("Crew")) {
|
||||
typeList = CardLists.getNotKeyword(typeList, "CARDNAME can't crew a vehicle");
|
||||
}
|
||||
|
||||
if (c == null && !amount.equals("Any")) {
|
||||
final String sVar = ability.getSVar(amount);
|
||||
// Generalize this
|
||||
|
||||
Reference in New Issue
Block a user