- Added a new AI SVar: NoZeroToughnessAI. Creatures with it will be played even when their toughness is zero.

This commit is contained in:
Sloth
2014-10-28 21:24:44 +00:00
parent 6f11c238fc
commit 65c2fd5298
31 changed files with 34 additions and 1 deletions

View File

@@ -1167,7 +1167,8 @@ public class AiController {
if (card.isCreature() && (card.getNetToughness() <= 0) && !card.hasStartOfKeyword("etbCounter")
&& mana.countX() == 0 && !card.hasETBTrigger()
&& !card.hasETBReplacement()) {
&& !card.hasETBReplacement()
&& !card.hasSVar("NoZeroToughnessAI")) {
return AiPlayDecision.WouldBecomeZeroToughnessCreature;
}

View File

@@ -9,5 +9,6 @@ SVar:X:Count$Valid Creature
A:AB$ Untap | Cost$ tapXType<5/Creature> | SpellDescription$ Untap CARDNAME.
SVar:BuffedBy:Creature
SVar:RemAIDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/altar_golem.jpg
Oracle:Trample\nAltar Golem's power and toughness are each equal to the number of creatures on the battlefield.\nAltar Golem doesn't untap during your untap step.\nTap five untapped creatures you control: Untap Altar Golem.

View File

@@ -6,5 +6,6 @@ K:Flying
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control.
SVar:X:Count$Valid Creature.YouCtrl
SVar:BuffedBy:Creature
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/battle_squadron.jpg
Oracle:Flying\nBattle Squadron's power and toughness are each equal to the number of creatures you control.

View File

@@ -5,5 +5,6 @@ PT:*/*
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures on the battlefield.
SVar:X:Count$Valid Creature
SVar:BuffedBy:Creature
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/beast_of_burden.jpg
Oracle:Beast of Burden's power and toughness are each equal to the number of creatures on the battlefield.

View File

@@ -9,5 +9,6 @@ T:Mode$ CounterRemoved | ValidCard$ Card.Self | TriggerZones$ Exile | CounterTy
SVar:TrigToken:AB$ Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Soldier | TokenTypes$ Creature,Soldier | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ w 1 1 soldier PLC
SVar:X:Count$xPaid
SVar:Y:Count$Valid Soldier.YouCtrl
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/benalish_commander.jpg
Oracle:Benalish Commander's power and toughness are each equal to the number of Soldiers you control.\nSuspend X- {X}{W}{W}. X can't be 0. (Rather than cast this card from your hand, you may pay {X}{W}{W} and exile it with X time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.)\nWhenever a time counter is removed from Benalish Commander while it's exiled, put a 1/1 white Soldier creature token onto the battlefield.

View File

@@ -6,5 +6,6 @@ K:Fear
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of black permanents you control.
SVar:X:Count$Valid Permanent.Black+YouCtrl
SVar:BuffedBy:Permanent.Black
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/crowd_of_cinders.jpg
Oracle:Fear (This creature can't be blocked except by artifact creatures and/or black creatures.)\nCrowd of Cinders's power and toughness are each equal to the number of black permanents you control.

View File

@@ -5,5 +5,6 @@ PT:*/*
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control.
SVar:X:Count$Valid Creature.YouCtrl
SVar:BuffedBy:Creature
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/crusader_of_odric.jpg
Oracle:Crusader of Odric's power and toughness are each equal to the number of creatures you control.

View File

@@ -7,5 +7,6 @@ K:CARDNAME attacks each turn if able.
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifacts you control.
SVar:X:Count$Valid Artifact.YouCtrl
SVar:BuffedBy:Artifact
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/darksteel_juggernaut.jpg
Oracle:Indestructible\nDarksteel Juggernaut's power and toughness are each equal to the number of artifacts you control.\nDarksteel Juggernaut attacks each turn if able.

View File

@@ -9,5 +9,6 @@ SVar:TrigGain:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ Y | References$
SVar:Y:TriggerCount$DamageAmount
SVar:BuffedBy:Cleric
SVar:HasCombatEffect:TRUE
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/doubtless_one.jpg
Oracle:Doubtless One's power and toughness are each equal to the number of Clerics on the battlefield.\nWhenever Doubtless One deals damage, you gain that much life.

View File

@@ -6,5 +6,6 @@ K:Hexproof
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of green permanents you control.
SVar:X:Count$Valid Permanent.Green+YouCtrl
SVar:BuffedBy:Permanent.Green
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/drove_of_elves.jpg
Oracle:Hexproof (This creature can't be the target of spells or abilities your opponents control.)\nDrove of Elves's power and toughness are each equal to the number of green permanents you control.

View File

@@ -6,5 +6,6 @@ K:Flying
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of blue permanents you control.
SVar:X:Count$Valid Permanent.Blue+YouCtrl
SVar:BuffedBy:Permanent.Blue
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/faerie_swarm.jpg
Oracle:Flying\nFaerie Swarm's power and toughness are each equal to the number of blue permanents you control.

View File

@@ -8,5 +8,6 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S
SVar:TrigToken:AB$ Token | Cost$ 0 | TokenImage$ W 1 1 Spirit ISD | TokenAmount$ 2 | TokenName$ Spirit | TokenTypes$ Creature,Spirit | TokenOwner$ You | TokenPower$ 1 | TokenToughness$ 1 | TokenColors$ White | TokenKeywords$ Flying | References$ X
SVar:X:Count$Valid Creature.YouCtrl
SVar:BuffedBy:Creature
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/geist_honored_monk.jpg
Oracle:Vigilance\nGeist-Honored Monk's power and toughness are each equal to the number of creatures you control.\nWhen Geist-Honored Monk enters the battlefield, put two 1/1 white Spirit creature tokens with flying onto the battlefield.

View File

@@ -7,5 +7,6 @@ S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$
SVar:X:Count$Valid Elf
SVar:BuffedBy:Permanent.Elf
SVar:RemRandomDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/heedless_one.jpg
Oracle:Trample\nHeedless One's power and toughness are each equal to the number of Elves on the battlefield.

View File

@@ -6,5 +6,6 @@ K:CantBeBlockedByAmount LT2
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of red permanents you control.
SVar:X:Count$Valid Permanent.Red+YouCtrl
SVar:BuffedBy:Permanent.Red
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/horde_of_boggarts.jpg
Oracle:Horde of Boggarts's power and toughness are each equal to the number of red permanents you control.\nHorde of Boggarts can't be blocked except by two or more creatures.

View File

@@ -8,5 +8,6 @@ A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.withFlying | TgtPrompt$ Select
SVar:X:Count$CardPower
SVar:BuffedBy:Permanent.Elf
SVar:RemRandomDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/jagged_scar_archers.jpg
Oracle:Jagged-Scar Archers's power and toughness are each equal to the number of Elves you control.\n{T}: Jagged-Scar Archers deals damage equal to its power to target creature with flying.

View File

@@ -5,5 +5,6 @@ PT:*/*
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of non-Wall creatures you control.
SVar:X:Count$Valid Creature.nonWall+YouCtrl
SVar:BuffedBy:Creature.nonWall
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/keldon_warlord.jpg
Oracle:Keldon Warlord's power and toughness are each equal to the number of non-Wall creatures you control.

View File

@@ -6,5 +6,6 @@ K:Vigilance
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of white permanents you control.
SVar:X:Count$Valid Permanent.White+YouCtrl
SVar:BuffedBy:Permanent.White
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/kithkin_rabble.jpg
Oracle:Vigilance\nKithkin Rabble's power and toughness are each equal to the number of white permanents you control.

View File

@@ -8,5 +8,7 @@ SVar:TrigChange:AB$ ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
SVar:X:Count$Valid Spirit.YouCtrl
SVar:Y:TriggeredCardController$Valid Spirit.YouCtrl
SVar:RemRandomDeck:True
SVar:BuffedBy:Spirit
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/kodama_of_the_center_tree.jpg
Oracle:Kodama of the Center Tree's power and toughness are each equal to the number of Spirits you control.\nKodama of the Center Tree has soulshift X, where X is the number of Spirits you control. (When this creature dies, you may return target Spirit card with converted mana cost X or less from your graveyard to your hand.)

View File

@@ -6,5 +6,6 @@ K:Flying
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Illusions on the battlefield.
SVar:X:Count$Valid Illusion
SVar:BuffedBy:Illusion
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/krovikan_mist.jpg
Oracle:Flying\nKrovikan Mist's power and toughness are each equal to the number of Illusions on the battlefield.

View File

@@ -8,5 +8,6 @@ SVar:X:Count$Valid Artifact.YouCtrl
SVar:PlayMain1:TRUE
SVar:BuffedBy:Artifact
SVar:RemRandomDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/master_of_etherium.jpg
Oracle:Master of Etherium's power and toughness are each equal to the number of artifacts you control.\nOther artifact creatures you control get +1/+1.

View File

@@ -8,5 +8,6 @@ SVar:X:Count$Valid Wizard
SVar:Y:Count$Valid Card.Self+faceUp
SVar:BuffedBy:Wizard
SVar:RemRandomDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/nameless_one.jpg
Oracle:Nameless One's power and toughness are each equal to the number of Wizards on the battlefield.\nMorph {2}{U} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)

View File

@@ -7,5 +7,6 @@ A:AB$ CopyPermanent | Cost$ 2 B Discard<1/Card> | Defined$ Self | NumCopies$ 1 |
SVar:X:Count$Valid Rat.YouCtrl
SVar:BuffedBy:Rat
DeckHints:Type$Rat
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/pack_rat.jpg
Oracle:Pack Rat's power and toughness are each equal to the number of Rats you control.\n{2}{B}, Discard a card: Put a token onto the battlefield that's a copy of Pack Rat.

View File

@@ -6,5 +6,6 @@ S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$
SVar:X:Count$Valid Creature.namedPlague Rats
SVar:BuffedBy:Creature.namedPlague Rats
SVar:RemRandomDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/plague_rats.jpg
Oracle:Plague Rats's power and toughness are each equal to the number of creatures named Plague Rats on the battlefield.

View File

@@ -5,5 +5,6 @@ PT:*/*
K:Trample
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ Chroma - CARDNAME's power and toughness are each equal to the number of green mana symbols in the mana costs of permanents you control.
SVar:X:Count$Chroma.Green
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/primalcrux.jpg
Oracle:Trample\nChroma - Primalcrux's power and toughness are each equal to the number of green mana symbols in the mana costs of permanents you control.

View File

@@ -7,5 +7,6 @@ S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$
SVar:X:Count$Valid Goblin
SVar:BuffedBy:Goblin
SVar:RemRandomDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/reckless_one.jpg
Oracle:Haste\nReckless One's power and toughness are each equal to the number of Goblins on the battlefield.

View File

@@ -9,5 +9,7 @@ S:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Permanent.counters_GE1_
SVar:X:Count$Valid Permanent.Snow
SVar:BuffedBy:Permanent.Snow
SVar:RemRandomDeck:True
DeckNeeds:Type$Snow
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/rimefeather_owl.jpg
Oracle:Flying\nRimefeather Owl's power and toughness are each equal to the number of snow permanents on the battlefield.\n{1}{S}: Put an ice counter on target permanent.\nPermanents with ice counters on them are snow.

View File

@@ -5,5 +5,6 @@ PT:*/*
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control.
SVar:X:Count$Valid Creature.YouCtrl
SVar:BuffedBy:Creature
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/scion_of_the_wild.jpg
Oracle:Scion of the Wild's power and toughness are each equal to the number of creatures you control.

View File

@@ -7,5 +7,6 @@ K:Flying
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control.
SVar:X:Count$Valid Creature.YouCtrl
SVar:BuffedBy:Creature
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/seraph_of_the_masses.jpg
Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nFlying\nSeraph of the Masses's power and toughness are each equal to the number of creatures you control.

View File

@@ -6,5 +6,6 @@ S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$
SVar:X:Count$TypeOnBattlefield.Zombie/Plus.Y
SVar:Y:Count$TypeInAllYards.Zombie
SVar:RemRandomDeck:True
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/soulless_one.jpg
Oracle:Soulless One's power and toughness are each equal to the number of Zombies on the battlefield plus the number of Zombie cards in all graveyards.

View File

@@ -9,5 +9,6 @@ SVar:TrigPopulate:AB$ ChooseCard | Cost$ 0 | Defined$ You | Amount$ 1 | Choices$
SVar:DBCopy:DB$ CopyPermanent | Defined$ Remembered | NumCopies$ 1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:BuffedBy:Creature
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/wayfaring_temple.jpg
Oracle:Wayfaring Temple's power and toughness are each equal to the number of creatures you control.\nWhenever Wayfaring Temple deals combat damage to a player, populate. (Put a token onto the battlefield that's a copy of a creature token you control.)

View File

@@ -6,5 +6,6 @@ S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$
SVar:X:Count$Valid Creature.Red
SVar:Y:Count$Valid Creature.Green
SVar:BuffedBy:Creature.Red,Creature.Green
SVar:NoZeroToughnessAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/yavimaya_kavu.jpg
Oracle:Yavimaya Kavu's power is equal to the number of red creatures on the battlefield.\nYavimaya Kavu's toughness is equal to the number of green creatures on the battlefield.