mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Added check for "SVar:RemAIDeck:True" in cards.txt to replace removed card list.
This commit is contained in:
@@ -786,7 +786,7 @@ public class GenerateConstructedMultiColorDeck
|
|||||||
|
|
||||||
return CardUtil.getColors(c).size() <= 3 &&
|
return CardUtil.getColors(c).size() <= 3 &&
|
||||||
!c.isLand() && //no land
|
!c.isLand() && //no land
|
||||||
!remove.contains(c.getName()) || //OR very important
|
!(remove.contains(c.getName()) || c.getSVar("RemAIDeck").equals("True")) || //OR very important
|
||||||
goodLand.contains(c.getName());
|
goodLand.contains(c.getName());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user