- Added AI support for Fume Spitter.

This commit is contained in:
Sloth
2014-10-02 19:00:58 +00:00
parent 82e7d6a1e4
commit 3ea9e25c66
2 changed files with 7 additions and 10 deletions

View File

@@ -66,14 +66,6 @@ public class CountersPutAi extends SpellAbilityAi {
return false;
}
if (!ComputerUtilCost.checkSacrificeCost(ai, abCost, source)) {
return false;
}
if (!ComputerUtilCost.checkCreatureSacrificeCost(ai, abCost, source)) {
return false;
}
if (!ComputerUtilCost.checkRemoveCounterCost(abCost, source)) {
return false;
}
@@ -256,7 +248,13 @@ public class CountersPutAi extends SpellAbilityAi {
}
}
if (ComputerUtil.playImmediately(ai, sa)) {
boolean immediately = ComputerUtil.playImmediately(ai, sa);
if (abCost != null && !ComputerUtilCost.checkSacrificeCost(ai, abCost, source, immediately)) {
return false;
}
if (immediately) {
return true;
}

View File

@@ -3,6 +3,5 @@ ManaCost:B
Types:Creature Horror
PT:1/1
A:AB$ PutCounter | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | CounterType$ M1M1 | CounterNum$ 1 | SpellDescription$ Put a -1/-1 counter on target creature.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/fume_spitter.jpg
Oracle:Sacrifice Fume Spitter: Put a -1/-1 counter on target creature.