mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- The AI will now respect restrictions of mana abilities.
- Removed SVar:RemAIDeck:True from the Tainted lands.
This commit is contained in:
@@ -5,7 +5,6 @@ Text:no text
|
|||||||
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ W | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add W to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ W | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add W to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
SVar:RemAIDeck:True
|
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_field.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_field.jpg
|
||||||
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/140.jpg
|
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/140.jpg
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ Text:no text
|
|||||||
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ U | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add U to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ U | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add U to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
SVar:RemAIDeck:True
|
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_isle.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_isle.jpg
|
||||||
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/141.jpg
|
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/141.jpg
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ Text:no text
|
|||||||
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ R | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add R to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ R | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add R to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
SVar:RemAIDeck:True
|
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_peak.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_peak.jpg
|
||||||
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/142.jpg
|
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/142.jpg
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ Text:no text
|
|||||||
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ B | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add B to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
A:AB$ Mana | Cost$ T | Produced$ G | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add G to your mana pool. Activate this ability only if you control a Swamp.
|
A:AB$ Mana | Cost$ T | Produced$ G | IsPresent$ Swamp.YouCtrl | SpellDescription$ Add G to your mana pool. Activate this ability only if you control a Swamp.
|
||||||
SVar:RemAIDeck:True
|
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_wood.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_wood.jpg
|
||||||
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/143.jpg
|
SetInfo:TOR|Uncommon|http://magiccards.info/scans/en/tr/143.jpg
|
||||||
|
|||||||
@@ -716,6 +716,11 @@ public class ComputerUtil
|
|||||||
ArrayList<Ability_Mana> mana = land.getManaAbility();
|
ArrayList<Ability_Mana> mana = land.getManaAbility();
|
||||||
|
|
||||||
for(Ability_Mana m : mana){
|
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"))
|
if (!colors.contains(Constant.Color.Black) && m.isBasic() && m.mana().equals("B"))
|
||||||
colors.add(Constant.Color.Black);
|
colors.add(Constant.Color.Black);
|
||||||
if (!colors.contains(Constant.Color.White) && m.isBasic() && m.mana().equals("W"))
|
if (!colors.contains(Constant.Color.White) && m.isBasic() && m.mana().equals("W"))
|
||||||
|
|||||||
Reference in New Issue
Block a user