- RemAIDeck update: next iteration (the rest of letter N).

This commit is contained in:
Agetian
2017-10-10 13:55:45 +00:00
parent 31e7316854
commit df480b67c0
12 changed files with 29 additions and 20 deletions

View File

@@ -160,6 +160,18 @@ public class DamageDealAi extends DamageAiBase {
} else {
return false;
}
} else if ("NinThePainArtist".equals(logic)) {
// Make sure not to mana lock ourselves + make the opponent draw cards into an immediate discard
if (ai.getGame().getPhaseHandler().is(PhaseType.END_OF_TURN)) {
boolean doTarget = damageTargetAI(ai, sa, dmg, true);
if (doTarget) {
Card tgt = sa.getTargets().getFirstTargetedCard();
if (tgt != null) {
return ai.getGame().getPhaseHandler().getPlayerTurn() == tgt.getController();
}
}
}
return false;
}
if (sourceName.equals("Sorin, Grim Nemesis")) {

View File

@@ -2,8 +2,8 @@ Name:Nantuko Calmer
ManaCost:2 G G
Types:Creature Insect Druid
PT:2/3
A:AB$ Destroy | Cost$ G T Sac<1/CARDNAME> | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | SpellDescription$ Destroy target enchantment.
A:AB$ Destroy | Cost$ G T Sac<1/CARDNAME> | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | AILogic$ AtEOTIfNotAttacking | SpellDescription$ Destroy target enchantment.
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | Condition$ Threshold | Description$ Threshold — CARDNAME gets +1/+1 as long as seven or more cards are in your graveyard.
SVar:RemAIDeck:True
DeckHints:Ability$Graveyard
SVar:Picture:http://www.wizards.com/global/images/magic/general/nantuko_calmer.jpg
Oracle:{G}, {T}, Sacrifice Nantuko Calmer: Destroy target enchantment.\nThreshold — Nantuko Calmer gets +1/+1 as long as seven or more cards are in your graveyard.

View File

@@ -4,7 +4,6 @@ Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Pump
A:AB$ Pump | Cost$ 1 ExileFromGrave<1/Card.TopGraveyard> | Defined$ Enchanted | NumAtt$ +1 | NumDef$ +1 | CostDesc$ {1}, Exile the top card of your graveyard: | SpellDescription$ Enchanted creature gets +1/+1 until end of turn.
SVar:RemAIDeck:True
SVar:NonStackingAttachEffect:True
SVar:NeedsOrderedGraveyard:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/natures_kiss.jpg

View File

@@ -3,10 +3,10 @@ ManaCost:4 G G
Types:Enchantment
K:UpkeepCost:G
T:Mode$ ChangesZone | ValidCard$ Island,Card.Blue | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | Execute$ TrigSacrificeBlue | TriggerDescription$ Whenever a player puts an Island or blue permanent onto the battlefield, he or she sacrifices an Island or blue permanent.
SVar:TrigSacrificeBlue:AB$Sacrifice | Cost$ 0 | Defined$ TriggeredCardController | SacValid$ Island,Card.Blue | SacMessage$ Island or a blue permanent
SVar:TrigSacrificeBlue:DB$ Sacrifice | Defined$ TriggeredCardController | SacValid$ Island,Card.Blue | SacMessage$ Island or a blue permanent
T:Mode$ ChangesZone | ValidCard$ Swamp,Card.Black | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | Execute$ TrigSacrificeBlack | TriggerDescription$ Whenever a player puts an Swamp or black permanent onto the battlefield, he or she sacrifices an Swamp or black permanent.
SVar:TrigSacrificeBlack:AB$Sacrifice | Cost$ 0 | Defined$ TriggeredCardController | SacValid$ Swamp,Card.Black | SacMessage$ Swamp or a black permanent
SVar:RemAIDeck:True
SVar:TrigSacrificeBlack:DB$ Sacrifice | Defined$ TriggeredCardController | SacValid$ Swamp,Card.Black | SacMessage$ Swamp or a black permanent
SVar:NonStackingEffect:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/natures_wrath.jpg
Oracle:At the beginning of your upkeep, sacrifice Nature's Wrath unless you pay {G}.\nWhenever a player puts an Island or blue permanent onto the battlefield, he or she sacrifices an Island or blue permanent.\nWhenever a player puts a Swamp or black permanent onto the battlefield, he or she sacrifices a Swamp or black permanent.

View File

@@ -3,6 +3,5 @@ ManaCost:2 B B
Types:Creature Ooze
PT:4/3
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ Battlefield | GainsAbilitiesOf$ Creature | GainsAbilitiesOfZones$ Graveyard | Description$ As long as CARDNAME is on the battlefield, it has all activated abilities of all creature cards in all graveyards.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/necrotic_ooze.jpg
Oracle:As long as Necrotic Ooze is on the battlefield, it has all activated abilities of all creature cards in all graveyards.

View File

@@ -5,10 +5,12 @@ K:Enchant creature
A:SP$ Attach | Cost$ 2 B B | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddTrigger$ NecroticPlagueTrig | AddSVar$ NecroticPlagueSac | Description$ Enchanted creature has "At the beginning of your upkeep, sacrifice this creature."
SVar:NecroticPlagueTrig:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ NecroticPlagueSac | TriggerDescription$ At the beginning of your upkeep, sacrifice CARDNAME.
SVar:NecroticPlagueSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Self
SVar:NecroticPlagueSac:DB$ Sacrifice | SacValid$ Self
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.AttachedBy | Execute$ TrigChoose | TriggerDescription$ When enchanted creature dies, its controller chooses target creature one of his or her opponents controls. Return CARDNAME from its owner's graveyard to the battlefield attached to that creature.
SVar:TrigChoose:AB$ Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Choose a creature your opponents control | TargetsWithDefinedController$ TriggeredCardOpponent | IsCurse$ True | TargetingPlayer$ TriggeredCardController | SubAbility$ DBChange
SVar:TrigChoose:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Choose a creature your opponents control | TargetsWithDefinedController$ TriggeredCardOpponent | IsCurse$ True | TargetingPlayer$ TriggeredCardController | SubAbility$ DBChange
SVar:DBChange:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield | AttachedTo$ ParentTarget
SVar:RemAIDeck:True
SVar:NeedsToPlayVar:Z GE3
SVar:Z:Count$Valid Creature.OppCtrl+inZoneBattlefield
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/necrotic_plague.jpg
Oracle:Enchant creature\nEnchanted creature has "At the beginning of your upkeep, sacrifice this creature."\nWhen enchanted creature dies, its controller chooses target creature one of his or her opponents controls. Return Necrotic Plague from its owner's graveyard to the battlefield attached to that creature.

View File

@@ -6,8 +6,8 @@ A:SP$ Attach | Cost$ 2 B | ValidTgts$ Creature | AILogic$ Curse
A:AB$ Pump | Cost$ 1 R | Defined$ Enchanted | KW$ HIDDEN CARDNAME attacks each combat if able. | IsCurse$ True | SpellDescription$ Enchanted creature attacks this turn if able.
T:Mode$ Attacks | ValidCard$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigLoseLifeAttack | TriggerDescription$ Whenever enchanted creature attacks or blocks, its controller loses 3 life.
T:Mode$ Blocks | ValidCard$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigLoseLifeBlock | Secondary$ True | TriggerDescription$ Whenever enchanted creature attacks or blocks, its controller loses 3 life.
SVar:TrigLoseLifeAttack:AB$LoseLife | Cost$ 0 | LifeAmount$ 3 | Defined$ TriggeredAttackerController
SVar:TrigLoseLifeBlock:AB$LoseLife | Cost$ 0 | LifeAmount$ 3 | Defined$ TriggeredBlockerController
SVar:RemAIDeck:True
SVar:TrigLoseLifeAttack:DB$ LoseLife | LifeAmount$ 3 | Defined$ TriggeredAttackerController
SVar:TrigLoseLifeBlock:DB$ LoseLife | LifeAmount$ 3 | Defined$ TriggeredBlockerController
DeckNeeds:Color$Red
SVar:Picture:http://www.wizards.com/global/images/magic/general/nettling_curse.jpg
Oracle:Enchant creature\nWhenever enchanted creature attacks or blocks, its controller loses 3 life.\n{1}{R}: Enchanted creature attacks this turn if able.

View File

@@ -2,9 +2,9 @@ Name:Nin, the Pain Artist
ManaCost:U R
Types:Legendary Creature Vedalken Wizard
PT:1/1
A:AB$ DealDamage | Cost$ X U R T | Announce$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBDraw | SpellDescription$ CARDNAME deals X damage to target creature. That creature's controller draws X cards.
A:AB$ DealDamage | Cost$ X U R T | Announce$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBDraw | AILogic$ NinThePainArtist | SpellDescription$ CARDNAME deals X damage to target creature. That creature's controller draws X cards.
SVar:DBDraw:DB$Draw | Defined$ TargetedController | NumCards$ X | References$ X
SVar:X:Count$xPaid
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/nin_the_pain_artist.jpg
Oracle:{X}{U}{R}, {T}: Nin, the Pain Artist deals X damage to target creature. That creature's controller draws X cards.

View File

@@ -3,6 +3,6 @@ ManaCost:2 B B
Types:Tribal Sorcery Rogue
A:SP$ Discard | Cost$ 2 B B | ValidTgts$ Player | Mode$ RevealYouChoose | RevealNumber$ 3 | NumCards$ 2 | SpellDescription$ Target player reveals three cards from his or her hand. You choose two of them. That player discards those cards.
A:SP$ Discard | Cost$ 1 B | Activation$ Prowl | PrecostDesc$ Prowl {1}{B} | ValidTgts$ Player | Mode$ RevealYouChoose | RevealNumber$ 3 | NumCards$ 2 | SpellDescription$ (You may cast this for its prowl cost if you dealt combat damage to a player this turn withRogue.)
SVar:RemAIDeck:True
DeckNeeds:Type$Rogue
SVar:Picture:http://www.wizards.com/global/images/magic/general/noggin_whack.jpg
Oracle:Prowl {1}{B} (You may cast this for its prowl cost if you dealt combat damage to a player this turn with a Rogue.)\nTarget player reveals three cards from his or her hand. You choose two of them. That player discards those cards.

View File

@@ -3,6 +3,5 @@ ManaCost:2 R
Types:Creature Goblin
PT:2/1
A:AB$ Destroy | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature.faceDown | TgtPrompt$ Select target face-down creature | SpellDescription$ Destroy target face-down creature.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/nosy_goblin.jpg
Oracle:{T}, Sacrifice Nosy Goblin: Destroy target face-down creature.

View File

@@ -5,7 +5,6 @@ SVar:AltCost:Cost$ 5 U | Activation$ Prowl | Description$ Prowl {5}{U} (You may
A:SP$ Token | Cost$ 3 U | TokenAmount$ X | References$ X | TokenColors$ Black | TokenTypes$ Faerie,Rogue,Creature | TokenName$ Faerie Rogue | TokenOwner$ You | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying | SubAbility$ DBTakeTurn | SpellDescription$ Create X 1/1 black Faerie Rogue creature tokens with flying, where X is the damage dealt to your opponents this turn. If CARDNAME's prowl cost was paid, take an extra turn after this one.
SVar:DBTakeTurn:DB$ AddTurn | NumTurns$ 1 | Condition$ AltCost
SVar:X:Count$TotalOppDamageThisTurn
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
DeckNeeds:Type$Rogue
SVar:Picture:http://www.wizards.com/global/images/magic/general/notorious_throng.jpg
Oracle:Prowl {5}{U} (You may cast this for its prowl cost if you dealt combat damage to a player this turn with a Rogue.)\nCreate X 1/1 black Faerie Rogue creature tokens with flying, where X is the damage dealt to your opponents this turn. If Notorious Throng's prowl cost was paid, take an extra turn after this one.

View File

@@ -3,6 +3,5 @@ ManaCost:W
Types:Creature Human Cleric
PT:1/2
A:AB$ DestroyAll | Cost$ 2 W T Sac<1/CARDNAME> | ValidCards$ Enchantment | SpellDescription$ Destroy all enchantments.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/nova_cleric.jpg
Oracle:{2}{W}, {T}, Sacrifice Nova Cleric: Destroy all enchantments.