mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- The AI will now respect restrictions of mana abilities.
- Removed SVar:RemAIDeck:True from the Tainted lands.
This commit is contained in:
@@ -716,6 +716,11 @@ public class ComputerUtil
|
||||
ArrayList<Ability_Mana> mana = land.getManaAbility();
|
||||
|
||||
for(Ability_Mana m : mana){
|
||||
|
||||
//if the mana ability is not avaiable move to the next one
|
||||
m.setActivatingPlayer(land.getController());
|
||||
if (!m.canPlay()) continue;
|
||||
|
||||
if (!colors.contains(Constant.Color.Black) && m.isBasic() && m.mana().equals("B"))
|
||||
colors.add(Constant.Color.Black);
|
||||
if (!colors.contains(Constant.Color.White) && m.isBasic() && m.mana().equals("W"))
|
||||
|
||||
Reference in New Issue
Block a user