- The AI will now respect restrictions of mana abilities.

- Removed SVar:RemAIDeck:True from the Tainted lands.
This commit is contained in:
jendave
2011-08-07 01:54:44 +00:00
parent aa503a8b08
commit da5479a932
5 changed files with 5 additions and 4 deletions

View File

@@ -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"))