Merge branch 'master' into 'master'

Fix AI logic for a couple cards

Closes #1096 and #1095

See merge request core-developers/forge!1952
This commit is contained in:
Michael Kamensky
2019-07-12 16:10:57 +00:00
2 changed files with 5 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
Name:Ancient Animus Name:Ancient Animus
ManaCost:1 G ManaCost:1 G
Types:Instant Types:Instant
A:SP$ PutCounter | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBFight | SpellDescription$ Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. (Each deals damage equal to its power to the other.) A:SP$ PutCounter | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | AILogic$ Fight | SubAbility$ DBFight | SpellDescription$ Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. (Each deals damage equal to its power to the other.)
SVar:X:Targeted$Valid Legendary SVar:X:Targeted$Valid Legendary
SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose target creature an opponent controls SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.OppCtrl | AILogic$ Always | TgtPrompt$ Choose target creature an opponent controls
DeckHas:Ability$Counters DeckHas:Ability$Counters
Oracle:Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. (Each deals damage equal to its power to the other.) Oracle:Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. (Each deals damage equal to its power to the other.)

View File

@@ -2,9 +2,10 @@ Name:Priest of Forgotten Gods
ManaCost:1 B ManaCost:1 B
Types:Creature Human Cleric Types:Creature Human Cleric
PT:1/2 PT:1/2
A:AB$ LoseLife | Cost$ T Sac<2/Creature.Other/other creatures> | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | LifeAmount$ 2 | SubAbility$ DBSac | SpellDescription$ Any number of target players each lose 2 life and sacrifice a creature. You add {B}{B} and draw a card. A:AB$ LoseLife | Cost$ T Sac<2/Creature.Other/other creature> | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | LifeAmount$ 2 | SubAbility$ DBSac | SpellDescription$ Any number of target players each lose 2 life and sacrifice a creature. You add {B}{B} and draw a card.
SVar:MaxTgts:PlayerCountPlayers$Amount SVar:MaxTgts:PlayerCountPlayers$Amount
SVar:DBSac:DB$ Sacrifice | SacValid$ Creature | Defined$ Targeted | Amount$ 1 | SubAbility$ DBMana SVar:DBSac:DB$ Sacrifice | SacValid$ Creature | Defined$ Targeted | Amount$ 1 | SubAbility$ DBMana
SVar:DBMana:DB$ Mana | Produced$ B | Amount$ 2 | SubAbility$ DBDraw SVar:DBMana:DB$ Mana | Produced$ B | Amount$ 2 | AILogic$ Always | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:DBDraw:DB$ Draw | NumCards$ 1
SVar:AIPreference:SacCost$Creature.token,Creature.cmcLE2
Oracle:{T}, Sacrifice two other creatures: Any number of target players each lose 2 life and sacrifice a creature. You add {B}{B} and draw a card. Oracle:{T}, Sacrifice two other creatures: Any number of target players each lose 2 life and sacrifice a creature. You add {B}{B} and draw a card.