mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Added a new AI SVar: MustAttack.
- Added it to Mad Dog.
This commit is contained in:
@@ -8,6 +8,7 @@ SVar:TrigSacrifice:AB$ Sacrifice | Cost$ 0 | ConditionCheckSVar$ X | ConditionSV
|
|||||||
SVar:Y:Count$ThisTurnEntered_Battlefield_Card.Self
|
SVar:Y:Count$ThisTurnEntered_Battlefield_Card.Self
|
||||||
SVar:Z:Count$Valid Card.Self+attackedThisTurn
|
SVar:Z:Count$Valid Card.Self+attackedThisTurn
|
||||||
SVar:X:SVar$Y/Plus.Z
|
SVar:X:SVar$Y/Plus.Z
|
||||||
|
SVar:MustAttack:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/mad_dog.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/mad_dog.jpg
|
||||||
SetInfo:ODY|Common|http://magiccards.info/scans/en/od/202.jpg
|
SetInfo:ODY|Common|http://magiccards.info/scans/en/od/202.jpg
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ Text:no text
|
|||||||
PT:1/1
|
PT:1/1
|
||||||
A:AB$ Pump | Cost$ 2 G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is that creature's power.
|
A:AB$ Pump | Cost$ 2 G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is that creature's power.
|
||||||
SVar:X:Targeted$CardPower
|
SVar:X:Targeted$CardPower
|
||||||
|
SVar:RemAIDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/nantuko_mentor.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/nantuko_mentor.jpg
|
||||||
SetInfo:ODY|Rare|http://magiccards.info/scans/en/od/255.jpg
|
SetInfo:ODY|Rare|http://magiccards.info/scans/en/od/255.jpg
|
||||||
|
|||||||
@@ -443,6 +443,7 @@ public class ComputerUtilAttack {
|
|||||||
// Attackers that don't really have a choice
|
// Attackers that don't really have a choice
|
||||||
for (final Card attacker : this.attackers) {
|
for (final Card attacker : this.attackers) {
|
||||||
if ((attacker.hasKeyword("CARDNAME attacks each turn if able.")
|
if ((attacker.hasKeyword("CARDNAME attacks each turn if able.")
|
||||||
|
|| !attacker.getSVar("MustAttack").equals("")
|
||||||
|| attacker.hasKeyword("At the beginning of the end step, destroy CARDNAME.")
|
|| attacker.hasKeyword("At the beginning of the end step, destroy CARDNAME.")
|
||||||
|| attacker.hasKeyword("At the beginning of the end step, exile CARDNAME.")
|
|| attacker.hasKeyword("At the beginning of the end step, exile CARDNAME.")
|
||||||
|| attacker.hasKeyword("At the beginning of the end step, sacrifice CARDNAME.")
|
|| attacker.hasKeyword("At the beginning of the end step, sacrifice CARDNAME.")
|
||||||
|
|||||||
Reference in New Issue
Block a user