mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Added AI Logic to CounterMagic, so AI can at least use Kozilek as a 12/12 body with a strong ETB ability, even though the AI doesn't know how to use it's activated ability
This commit is contained in:
@@ -104,6 +104,14 @@ public class CounterAi extends SpellAbilityAi {
|
||||
|
||||
// But really it should be more picky about how it counters things
|
||||
|
||||
if (sa.hasParam("AILogic")) {
|
||||
String logic = sa.getParam("AILogic");
|
||||
if ("Never".equals(logic)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
return toReturn;
|
||||
}
|
||||
|
||||
@@ -7,8 +7,7 @@ SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ Difference | Referenc
|
||||
SVar:Y:Count$InYourHand
|
||||
SVar:Difference:Number$7/Minus.Y
|
||||
K:Menace
|
||||
A:AB$ Counter | Announce$ X | Cost$ Discard<1/Card.cmcEQX/card with converted mana cost X> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SpellDescription$ Counter target spell with converted mana cost X.
|
||||
A:AB$ Counter | Announce$ X | Cost$ Discard<1/Card.cmcEQX/card with converted mana cost X> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | AILogic$ Never | SpellDescription$ Counter target spell with converted mana cost X.
|
||||
SVar:X:Targeted$CardManaCost
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/kozilek_the_great_distortion.jpg
|
||||
Oracle:When you cast Kozilek, the Great Distortion, if you have fewer than seven cards in hand, draw cards equal to the difference.\nMenace\nDiscard a card with converted mana cost X: Counter target spell with converted mana cost X.
|
||||
|
||||
Reference in New Issue
Block a user