mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- The AI will no longer kill itself with Mogis, God of Slaughter.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user