- The AI will no longer kill itself with Mogis, God of Slaughter.

This commit is contained in:
Sloth
2014-02-04 13:59:44 +00:00
parent b5e7de67a2
commit 8eaa535d6b
2 changed files with 5 additions and 1 deletions

View File

@@ -395,6 +395,10 @@ public class ComputerUtilCost {
if (payerCreatures > sourceCreatures + 1) {
return false;
}
} else if ("LifeLE2".equals(sa.getParam("UnlessAI"))) {
if (payer.getLife() < 3) {
return true;
}
}
// AI will only pay when it's not already payed and only opponents abilities

View File

@@ -6,7 +6,7 @@ K:Indestructible
S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | RemoveCreatureTypes$ True | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to black and red is less than seven, CARDNAME isn't a creature.
SVar:X:Count$DevotionDual.B.R
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Opponent | Execute$ TrigDmg | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals 2 damage to that player unless he or she sacrifices a creature.
SVar:TrigDmg:AB$ DealDamage | Cost$ 0 | NumDmg$ 2 | Defined$ TriggeredPlayer | UnlessCost$ Sac<1/Creature> | UnlessPayer$ TriggeredPlayer
SVar:TrigDmg:AB$ DealDamage | Cost$ 0 | NumDmg$ 2 | Defined$ TriggeredPlayer | UnlessCost$ Sac<1/Creature> | UnlessAI$ LifeLE2 | UnlessPayer$ TriggeredPlayer
SVar:BuffedBy:Permanent.Black,Permanent.Red
SVar:Picture:http://www.wizards.com/global/images/magic/general/mogis_god_of_slaughter.jpg
Oracle:Indestructible\nAs long as your devotion to black and red is less than seven, Mogis isn't a creature.\nAt the beginning of each opponent's upkeep, Mogis deals 2 damage to that player unless he or she sacrifices a creature.