It is currently 26 Apr 2024, 07:04
   
Text Size

Kaladesh spoiler season

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Kaladesh spoiler season

Postby matrix4767 » 15 Sep 2016, 04:37

Code: Select all
Name:Cataclysmic Gearhulk
ManaCost:3 W W
Types:Artifact Creature Construct
PT:4/5
K:Vigilance
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigRepeatEach | TriggerDescription$ When Cataclysmic Gearhulk enters the battlefield, each player chooses from among the non-land permanents he or she controls an artifact, a creature, an enchantment, and a planeswalker, then sacrifices the rest.
SVar:TrigRepeatEach:AB$ RepeatEach | Cost$ 0 | RepeatPlayers$ Player | RepeatSubAbility$ ChooseArtf | SubAbility$ SacAllOthers
SVar:ChooseArtf:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Artifact.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose an artifact to keep | SubAbility$ ChooseCrtr | RememberChosen$ True | Mandatory$ True
SVar:ChooseCrtr:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Creature.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose a creature to keep | SubAbility$ ChooseEnch | RememberChosen$ True | Mandatory$ True
SVar:ChooseEnch:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Enchantment.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose an enchantment to keep | SubAbility$ ChoosePlaneswalker | RememberChosen$ True | Mandatory$ True
SVar:ChoosePlaneswalker:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Planeswalker.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose a planeswalker to keep | RememberChosen$ True | Mandatory$ True
SVar:SacAllOthers:DB$ SacrificeAll | ValidCards$ Permanent.nonLand+IsNotRemembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/cataclysmic_gearhulk.jpg
Oracle:Vigilance\nWhen When Cataclysmic Gearhulk enters the battlefield, each player chooses from among the non-land permanents he or she controls an artifact, a creature, an enchantment, and a planeswalker, then sacrifices the rest.
Code: Select all
Name:Foundry Inspector
ManaCost:3
Types:Artifact Creature Construct
PT:3/2
S:Mode$ ReduceCost | ValidCard$ Artifact | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Artifact spells you cast cost {1} less to cast.
SVar:Picture:http://www.wizards.com/global/images/magic/general/foundry_inspector.jpg
Oracle:Artifact spells you cast cost {1} less to cast.
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Kaladesh spoiler season

Postby Marek14 » 16 Sep 2016, 03:59

Note that the tokens have been released; notably, there are three Servo tokens which should all be generated by Fabricate at random, I guess. Also, three Thopter tokens.
And two Construct tokens; it seems clear from the pictures which one is associated with Metallurgic Summonings and which one with Oviya Pashiri.

I should be flying home today, so I might be able to add cards tomorrow. Great job so far!
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Kaladesh spoiler season

Postby Hanmac » 16 Sep 2016, 17:26

Full spoiler is out:
http://magic.wizards.com/en/articles/ar ... 2016-09-16

The problems I see are:
702.121c If an effect states that a creature “can’t crew Vehicles,” that creature can’t be tapped to pay the cost of a crew ability of a Vehicle.
That should probably be fixed adding new hidden keyword and add check in Crew.

Fairgrounds Trumpeter
At the beginning of each end step, if a +1/+1 counter was placed on a permanent under your control this turn, put a +1/+1 counter on Fairgrounds Trumpeter.
For that one we might need some extra logic.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Kaladesh spoiler season

Postby Marek14 » 17 Sep 2016, 14:59

Kaladesh Pass - A

Code: Select all
Name:Accomplished Automaton
ManaCost:7
Types:Artifact Creature Construct
PT:5/7
K:Fabricate:1
SVar:Picture:http://www.wizards.com/global/images/magic/general/accomplished_automaton.jpg
Oracle:Fabricate 1 (When this creature enters the battlefield, put a +1/+1 counter on it or create a 1/1 colorless Servo artifact creature token.)
Code: Select all
Name:Aether Meltdown
ManaCost:1 U
Types:Enchantment Aura
K:Flash
K:Enchant creature or Vehicle
A:SP$ Attach | Cost$ 1 U | ValidTgts$ Creature,Vehicle | AILogic$ Curse
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E} (two energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
S:Mode$ Continuous | Affected$ Permanent.EnchantedBy | AddPower$ -4 | Description$ Enchanted permanent gets -4/-0.
SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_meltdown.jpg
Oracle:Flash (You may cast this spell any time you could cast an instant.)\nEnchant creature or Vehicle\nWhen Aether Meltdown enters the battlefield, you get {E}{E} (two energy counters).\nEnchanted permanent gets -4/-0.
(Note: new kind of enchant ability, if it's important. Also not sure is Permanent.EnchantedBy and power modification work, it should work correctly as Creature.EnchantedBy as well)

Code: Select all
Name:Aether Theorist
ManaCost:1 U
Types:Creature Vedalken Rogue
PT:1/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E} (three energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 3
A:AB$ Scry | Cost$ T PayEnergy<1> | ScryNum$ 1 | SpellDescription$ Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_theorist.jpg
Oracle:When Aether Theorist enters the battlefield, you get {E}{E}{E} (three energy counters).\n{T}, Pay {E}: Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
Code: Select all
Name:Aethersquall Ancient
ManaCost:5 U U
Types:Creature Leviathan
PT:6/6
K:Flying
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigEnergy | TriggerDescription$ At the beginning of your upkeep, you get {E}{E}{E} (three energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 3
A:AB$ ChangeZoneAll | Cost$ PayEnergy<8> | ChangeType$ Creature.Other | SorcerySpeed$ True | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return all other creatures to their owners' hands.
SVar:Picture:http://www.wizards.com/global/images/magic/general/aethersquall_ancient.jpg
Oracle:Flying\nAt the beginning of your upkeep, you get {E}{E}{E} (three energy counters).\nPay {E}{E}{E}{E}{E}{E}{E}{E}: Return all other creatures to their owners' hands. Activate this ability only any time you could cast a sorcery.
Code: Select all
Name:Aetherstorm Roc
ManaCost:2 W W
Types:Creature Bird
PT:3/3
K:Flying
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigEnergy | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME or another creature enters the battlefield under your control, you get {E} (an energy counter).
T:Mode$ ChangesZone | ValidCard$ Creature.Other+YouCtrl | Origin$ Any | Destination$ Battlefield | Execute$ TrigEnergy | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another creature enters the battlefield under your control, you get {E} (an energy counter).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 1
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME attacks, you may pay {E}{E}. If you do, put a +1/+1 counter on it and tap up to one target creature defending player controls.
SVar:TrigPutCounter:AB$ PutCounter | Cost$ PayEnergy<2> | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBTap
SVar:DBTap:DB$Tap | ValidTgts$ Creature | TargetsWithDefinedController$ TriggeredDefendingPlayer | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature defending player controls
SVar:Picture:http://www.wizards.com/global/images/magic/general/aetherstorm_roc.jpg
Oracle:Flying\nWhenever Aetherstorm Roc or another creature enters the battlefield under your control, you get {E} (an energy counter).\nWhenever Aetherstorm Roc attacks, you may pay {E}{E}. If you do, put a +1/+1 counter on it and tap up to one target creature defending player controls.
(Hope the targeting will work correctly. Wait, will the tapping be dependent on payment of energy in this way or does it have to be written differently? Customs Depot seems to show that this will work...)

Code: Select all
Name:Aethertorch Renegade
ManaCost:2 R
Types:Creature Human Rogue
PT:1/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E}{E} (four energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 4
A:AB$ DealDamage | Cost$ T PayEnergy<2> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature.
A:AB$ DealDamage | Cost$ T PayEnergy<8> | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ 6 | SpellDescription$ CARDNAME deals 6 damage to target player.
SVar:Picture:http://www.wizards.com/global/images/magic/general/aethertorch_renegade.jpg
Oracle:When Aethertorch Renegade enters the battlefield, you get {E}{E}{E}{E} (four energy counters).\n{T}, Pay {E}{E}: Aethertorch Renegade deals 1 damage to target creature.\n{T}, Pay {E}{E}{E}{E}{E}{E}{E}{E}: Aethertorch Renegade deals 6 damage to target player.
Code: Select all
Name:Ambitious Aetherborn
ManaCost:4 B
Types:Creature Aetherborn Artificer
PT:4/3
K:Fabricate:1
SVar:Picture:http://www.wizards.com/global/images/magic/general/ambitious_aetherborn.jpg
Oracle:Fabricate 1 (When this creature enters the battlefield, put a +1/+1 counter on it or create a 1/1 colorless Servo artifact creature token.)
Code: Select all
Name:Animation Module
ManaCost:1
Types:Artifact
T:Mode$ CounterAddedOnce | ValidCard$ Permanent.YouCtrl | TriggerZones$ Battlefield | CounterType$ P1P1 | Execute$ TrigToken | TriggerDescription$ Whenever one or more +1/+1 counters are placed on a permanent you control, you may pay {1}. If you do, create a 1/1 colorless Servo artifact creature token.
SVar:TrigToken:AB$ Token | Cost$ 1 | TokenAmount$ 1 | TokenName$ Servo | TokenTypes$ Artifact,Creature,Servo | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ c 1 1 servo | TokenAltImages$ c_1_1_servo2,c_1_1_servo3
???
DeckHints:Ability$Counters
SVar:Picture:http://www.wizards.com/global/images/magic/general/animation_module.jpg
Oracle:Whenever one or more +1/+1 counters are placed on a permanent you control, you may pay {1}. If you do, create a 1/1 colorless Servo artifact creature token.\n{3}, {T}: Choose a counter on target permanent or player. Give that permanent or player another counter of that kind.
Not complete yet - closest to the second ability we have is Clockspinning, but that can remove counters as well and I'm not sure if it can work with players. Might need new ability.

Code: Select all
Name:Appetite for the Unnatural
ManaCost:2 G
Types:Instant
A:SP$ Destroy | Cost$ 2 G | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SubAbility$ NaturalLife | SpellDescription$ Destroy target artifact or enchantment. You gain 2 life.
SVar:NaturalLife:DB$GainLife | Defined$ You | LifeAmount$ 2
SVar:Picture:http://www.wizards.com/global/images/magic/general/appetite_for_the_unnatural.jpg
Oracle:Destroy target artifact or enchantment. You gain 2 life.
Code: Select all
Name:Architect of the Untamed
ManaCost:2 G
Types:Creature Elf Artificer Druid
PT:2/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | Execute$ TrigEnergy | TriggerDescription$ Whenever a land enters the battlefiend under your control, you get {E} (an energy counter).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 1
A:AB$ Token | Cost$ PayEnergy<8> | TokenAmount$ 1 | TokenName$ Beast | TokenTypes$ Artifact,Creature,Beast | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 6 | TokenToughness$ 6 | TokenImage$ c 6 6 beast | SpellDescription$ Create a 6/6 colorless Beast artifact creature token.
SVar:Picture:http://www.wizards.com/global/images/magic/general/architect_of_the_untamed.jpg
Oracle:Whenever a land enters the battlefiend under your control, you get {E} (an energy counter).\nPay {E}{E}{E}{E}{E}{E}{E}{E}: Create a 6/6 colorless Beast artifact creature token.
Code: Select all
Name:Armorcraft Judge
ManaCost:3 G
Types:Creature Elf Artificer
PT:3/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each creature you control with a +1/+1 counter on it.
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ X | References$ X
SVar:X:Count$Valid Creature.YouCtrl+counters_GE1_P1P1
DeckHints:Ability$Counters
SVar:Picture:http://www.wizards.com/global/images/magic/general/armorcraft_judge.jpg
Oracle:When Armorcraft Judge enters the battlefield, draw a card for each creature you control with a +1/+1 counter on it.
Code: Select all
Name:Attune with Aether
ManaCost:G
Types:Sorcery
A:SP$ ChangeZone | Cost$ G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ 1 | SubAbility$ DBEnergy | SpellDescription$ Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. You get {E}{E} (two energy counters).
SVar:DBEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
SVar:Picture:http://www.wizards.com/global/images/magic/general/attune_with_aether.jpg
Oracle:Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. You get {E}{E} (two energy counters).
Code: Select all
Name:Authority of the Consuls
ManaCost:W
Types:Enchantment
S:Mode$ ETBTapped | ValidCard$ Creature.OppCtrl | Description$ Creatures your opponents control enter the battlefield tapped.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.OppCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a creature enters the battlefield under an opponent's control, you gain 1 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/authority_of_the_consuls.jpg
Oracle:Creatures your opponents control enter the battlefield tapped.\nWhenever a creature enters the battlefield under an opponent's control, you gain 1 life.
Skipped cards:
Aetherborn Marauder - not sure how to write its "move any number of counters from any number of permanents" ability

Other things I noticed during writing this:
Aether Hub should have T in its last ability.
Thriving cycle has typos in text (attack's + missing comma)
Vulshok Sorcerer has its name instead of CARDNAME in ability text.
Last edited by Marek14 on 18 Sep 2016, 07:46, edited 1 time in total.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Kaladesh spoiler season

Postby Hanmac » 17 Sep 2016, 15:16

@Marek14: i will look at your notices, and might try to push your already scripted cards. (can you push them too?)

and "Permanent.EnchantedBy" should already work as it should.

PS: about the Energy counter type, what should we prefer?
ENERGY or "Energy"? because i did them first with "Energy" but swordshine did chagned it later to "ENERGY", but both seems to work.
Also the {E} symbol need to be added, but i don't know how.

===
for Fabricate i did the AI recently,
if someone find a case where it should choose something else, try to notice that.

for Crew, i need to add a new Keyword for "can't crew" but i didn't test ed that yet.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Kaladesh spoiler season

Postby Marek14 » 17 Sep 2016, 15:36

Well, counters seem to be traditionally written in ALL CAPS. AI for Fabricate could get complex. The set is intentionally tricky.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Kaladesh spoiler season

Postby Marek14 » 17 Sep 2016, 15:56

Kaladesh Pass - B

Code: Select all
Name:Bastion Mastodon
ManaCost:5
Types:Artifact Creature Elephant
PT:4/5
A:AB$ Pump | Cost$ W | KW$ Vigilance | Defined$ Self | SpellDescription$ CARDNAME gains vigilance until end of turn.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/bastion_mastodon.jpg
Oracle:{W}: Bastion Mastodon gains vigilance until end of turn.
Code: Select all
Name:Bomat Courier
ManaCost:1
Types:Artifact Creature Construct
PT:1/1
K:Haste
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of your library face down. (You can't look at it.)
SVar:TrigExile:AB$ Mill | Cost$ 0 | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | ExileFaceDown$ True | NoReveal$ True
A:AB$ ChangeZoneAll | Cost$ R Discard<0/Hand> Sac<1/CARDNAME> | ChangeType$ Card.IsRemembered+ExiledWithSource | Origin$ Exile | Destination$ Hand | SpellDescription$ Put all cards exiled with Bomat Courier into their owners' hands.
T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget
SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/bomat_courier.jpg
Oracle:Haste\nWhenever Bomat Courier attacks, exile the top card of your library face down. (You can't look at it.)\n{R}, Discard your hand, Sacrifice Bomat Courier: Put all cards exiled with Bomat Courier into their owners' hands.
(I mostly used Colfenor's Plans as a template, but not sure if there should be a cleanup function somewhere. It can't use the one Colfenor's Plans has, triggered on leaving the battlefield, since it needs access to the cards even after being sacrificed to its ability.)

Code: Select all
Name:Bristling Hydra
ManaCost:2 G G
Types:Creature Hydra
PT:4/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E} (three energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 3
A:AB$ PutCounter | Cost$ PayEnergy<3> | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBPump | SpellDescription$ Put a +1/+1 counter on CARDNAME. It gains hexproof until end of turn.
SVar:DBPump:DB$Pump | Defined$ Self | KW$ Hexproof
SVar:Picture:http://www.wizards.com/global/images/magic/general/bristling_hydra.jpg
Oracle:When Bristling Hydra enters the battlefield, you gain {E}{E}{E} (three energy counters).\nPay {E}{E}{E}: Put a +1/+1 counter on Bristling Hydra. It gains hexproof until end of turn.
Code: Select all
Name:Built to Last
ManaCost:W
Types:Instant
A:SP$ Pump | Cost$ W | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2 | NumDef$ +2 | SubAbility$ DBPump | SpellDescription$ Target creature gets +2/+2 until end of turn. If it's an artifact creature, it gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
SVar:DBPump:DB$Pump | Defined$ ParentTarget.Artifact | KW$ Indestructible
SVar:Picture:http://www.wizards.com/global/images/magic/general/built_to_last.jpg
Oracle:Target creature gets +2/+2 until end of turn. If it's an artifact creature, it gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
Code: Select all
Name:Built to Smash
ManaCost:R
Types:Instant
A:SP$ Pump | Cost$ R | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumAtt$ +3 | NumDef$ +3 | SubAbility$ DBPump | SpellDescription$ Target attacking creature gets +3/+3 until end of turn. If it's an artifact creature, it gains trample until end of turn.
SVar:DBPump:DB$Pump | Defined$ ParentTarget.Artifact | KW$ Trample
SVar:Picture:http://www.wizards.com/global/images/magic/general/built_to_last.jpg
Oracle:Target attacking creature gets +3/+3 until end of turn. If it's an artifact creature, it gains trample until end of turn.
(For these two, is "ParentTarget.Artifact" a good syntax?)
Last edited by Marek14 on 18 Sep 2016, 18:38, edited 1 time in total.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Kaladesh spoiler season

Postby friarsol » 17 Sep 2016, 16:12

Hanmac wrote:for Crew, i need to add a new Keyword for "can't crew" but i didn't test ed that yet.
It should be pretty straightforward. In tapXType cost, just check if the SA is a crew ability, then filter out creatures with that keyword.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Kaladesh spoiler season

Postby Hanmac » 17 Sep 2016, 16:20

@friarsol:
i thought about adding "+withoutCARDNAME can't crew a vehicle" to CardFactoryUtil in the tapXType line.
it can probably added to CostTapType instead. I forgot that the Cost can access the SpellAbility.
(i am currently thinking about what would be the best)


@Marek14:
you need to checkout the svn, i already did AI for fabricate.
(it should cover most stuff) if not, i am open for suggestions.

what i wanted to do was to check for some triggers which would trigger for the Servo Tokens.
but i didn't finished that yet, and did leave it as TODO.

that was part what i did so far:
Code: Select all

final HashMap<String, Object> runParams = new HashMap<String, Object>();
runParams.put("Card", tokenCard);
runParams.put("Origin", null);
runParams.put("Destination", player.getZone(ZoneType.Battlefield));
runParams.put("SpellAbilityStackInstance", game.stack.peek());
runParams.put("IndividualCostPaymentInstance", game.costPaymentStack.peek());

final CardCollectionView controlledByCompy = player.getCardsIn(ZoneType.STATIC_ABILITIES_SOURCE_ZONES);
for (final Card c : controlledByCompy) {
    for (final Trigger trigger : c.getTriggers()) {
        if (game.getTriggerHandler().canRunTrigger(trigger, TriggerType.ChangesZone, runParams)) {
           final Map<String, String> triggerParams = trigger.getMapParams();
           SpellAbility triggerSA = trigger.getOverridingAbility();
            if (triggerSA == null) {
                if (triggerParams.containsKey("Execute")) {
                   triggerSA = AbilityFactory.getAbility(trigger.getHostCard(), triggerParams.get("Execute"));
                }
            }
           
            if (triggerSA == null) {
               continue;
            }
           
            if (triggerSA.getApi() == ApiType.PutCounterAll) {
               final String counterType = triggerSA.getParam("CounterType");
               if (counterType != "P1P1")
                  continue;

               final String valid = triggerSA.getParam("ValidCards");

                if (host.isValid(valid, player, triggerSA.getHostCard(), triggerSA)) {
                   return tokenSA;
                }

            }
        }
    }
}
===

about B cards:

yeah Bomat Courier should probably has some Cleanup too, probably as sub ability of that ChangeZoneAll.
(it probably should have a cleanup too when it does leave the battlefield for other reasons, but yeah that might not work with the ability ... i will test that out if possible)
i did most of the stuff with ExiledWithSource & Cleanup, probably i can get it a bit better.

i didn't tested it yet, but "ParentTarget.Artifact" should work imo.
if not, just add the Artifact part as Valid or Condition.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Kaladesh spoiler season

Postby Marek14 » 17 Sep 2016, 17:30

Kaladesh Pass - C

Code: Select all
Name:Cogworker's Puzzleknot
ManaCost:2
Types:Artifact
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 1/1 colorless Servo artifact creature token.
SVar:TrigToken:AB$ Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Servo | TokenTypes$ Artifact,Creature,Servo | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ c 1 1 servo | TokenAltImages$ c_1_1_servo2,c_1_1_servo3
A:AB$ Token | Cost$ 1 W Sac<1/CARDNAME> | TokenAmount$ 1 | TokenName$ Servo | TokenTypes$ Artifact,Creature,Servo | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ c 1 1 servo | TokenAltImages$ c_1_1_servo2,c_1_1_servo3 | SpellDescription$ Create a 1/1 colorless Servo artifact creature token.
SVar:Picture:http://www.wizards.com/global/images/magic/general/cogworkers_puzzleknot.jpg
Oracle:When Cogworker's Puzzleknot enters the battlefield, create a 1/1 colorless Servo artifact creature token.\n{1}{W}, Sacrifice Cogworker's Puzzleknot: Create a 1/1 colorless Servo artifact creature token.
Code: Select all
Name:Commencement of Festivities
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Commencement of Festivities Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt to players this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | CombatDamage$ True | Target$ Player | Description$ Prevent all combat damage that would be dealt to players this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/commencement_of_festivities.jpg
Oracle:Prevent all combat damage that would be dealt to players this turn.
Code: Select all
Name:Consul's Shieldguard
ManaCost:3 W
Types:Creature Dwarf Soldier
PT:3/4
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E} (two energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, you may pay {E}. If you do, another target attacking creature gains indestructible until end of turn.
SVar:TrigPump:AB$ Pump | Cost$ PayEnergy<1> | ValidTgts$ Creature.attacking+Other | TgtPrompt$ Select another target attacking creature | KW$ Indestructible
SVar:HasAttackEffect:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/consuls_shieldguard.jpg
Oracle:When Consul's Shieldguard enters the battlefield, you get {E}{E} (two energy counters).\nWhenever Consul's Shieldguard attacks, you may pay {E}. If you do, another target attacking creature gains indestructible until end of turn.
Code: Select all
Name:Consulate Skygate
ManaCost:2
Types:Artifact Creature Wall
PT:0/4
K:Defender
K:Reach
SVar:Picture:http://www.wizards.com/global/images/magic/general/consulate_skygate.jpg
Oracle:Defender\nReach (This creature can block creatures with flying.)
Code: Select all
Name:Consulate Surveillance
ManaCost:3 W
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E}{E} (four energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 4
A:AB$ ChooseSource | Cost$ PayEnergy<2> | Choices$ Card | ChoiceTitle$ Choose a source | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ Prevent all damage that would be dealt to you this turn by a source of your choice.
SVar:DBEffect:DB$ Effect | StaticAbilities$ PreventFromSource | References$ PreventFromSource | RememberObjects$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:PreventFromSource:Mode$ PreventDamage | EffectZone$ Command |  Target$ You | Source$ Card.IsRemembered | Description$ Prevent all damage that would be dealt to you this turn by a source of your choice.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/consulate_surveillance.jpg
Oracle:When Consulate Surveillance enters the battlefield, you get {E}{E}{E}{E} (four energy counters).\nPay {E}{E}: Prevent all damage that would be dealt to you this turn by a source of your choice.
Code: Select all
Name:Cowl Prowler
ManaCost:4 G G
Types:Creature Wurm
PT:6/6
SVar:Picture:http://www.wizards.com/global/images/magic/general/cowl_prowler.jpg
Oracle:
Code: Select all
Name:Cultivator of Blades
ManaCost:3 G G
Types:Creature Elf Artificer
PT:1/1
K:Fabricate:2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPumpAll | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may have other attacking creatures get +X/+X until end of turn, where X is Cultivator of Blades's power.
SVar:TrigPumpAll:AB$PumpAll | Cost$ 0 | ValidCards$ Creature.attacking+Other | NumAtt$ X | NumDef$ X | References$ X
SVar:X:Count$CardPower
SVar:Picture:http://www.wizards.com/global/images/magic/general/cultivator_of_blades.jpg
Oracle:Fabricate 2 (When this creature enters the battlefield, put two +1/+1 counters on it or create two 1/1 colorless Servo artifact creature tokens.)\nWhenever Cultivator of Blades attacks, you may have other attacking creatures get +X/+X until end of turn, where X is Cultivator of Blades's power.
Skipped:
Captured by the Consulate - not sure how to write the last ability.
Chandra, Torch of Defiance - the first ability trips me. I thought of using the presence of a remembered card in exile as a condition for dealing damage (if it's in exile by that time, it wasn't cast), but that wouldn't work right in the corner case where you activate the ability with empty library. (I think that in this case, Chandra should deal damage because nothing was cast.) Alternate, even more hacky way would be to store number of spells cast this turn and compare it with number of cast spells before dealing damage, but there must be a better way...
Combustible Gearhulk - not sure how to handle the choice and the summing of the CMCs.
Confiscation Coup - not sure what's the best way to write this. Some dummy effect just to get the target, and then extract its CMC to find how much energy should be paid?

Notes:
Mourner's Shield contains "SubAbility$ DBCleanup" twice in the same block.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Kaladesh spoiler season

Postby matrix4767 » 17 Sep 2016, 17:46

Darn, I tried to make Chandra and C-Hulk work and failed miserably too. Why must Wotc make the playable cards worded like that?
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Kaladesh spoiler season

Postby Hanmac » 17 Sep 2016, 18:14

Chandra, Torch of Defiance:
for the first one it should be possible to check if the Spell was cast or not, like with imprint and if it isn't imprinted then deal damage.

the first ability probably like that: (schematic)

Exile Top & RememberExiled
Play Remembered & ImprintIfPlayed
DealDamage Remembered if not Imprinted
Cleanup


i might probably get Combustible Gearhulk working with GenericChoice,
Summing the CMC there should already a function for that. Probably the same as Sin Prodder.

i think the most Problematic Part might be the AI again :(
(like should i let him draw or do i take the damage?)
Compared to Sin Prodder is the Problem that the Opponent does not know the three cards, so it doesn't know how much damage it might get :/

===
Confiscation Coup should probably work with some dummy pump effect, because the energy pay is optional. (it's possible to pay no energy)
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Kaladesh spoiler season

Postby Marek14 » 17 Sep 2016, 18:27

Kaladesh Pass - D

Code: Select all
Name:Deadlock Trap
ManaCost:3
Types:Artifact
K:CARDNAME enters the battlefield tapped.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E} (two energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
A:AB$ Tap | Cost$ T PayEnergy<1> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SubAbility$ DBPump | SpellDescription$ Tap target creature or planeswalker. Its activated abilities can't be activated this turn.
SVar:DBPump:DB$Pump | Defined$ ParentTarget | AddHiddenKeyword$ CARDNAME's activated abilities can't be activated.
SVar:Picture:http://www.wizards.com/global/images/magic/general/deadlock_trap.jpg
Oracle:Deadlock Trap enters the battlefield tapped.\nWhen Deadlock Trap enters the battlefield, you get {E}{E} (two energy counters).\n{T}, Pay {E}: Tap target creature or planeswalker. Its activated abilities can't be activated this turn.
Might need some AI. While AI might tap creatures on its own turn to clear blockers, planeswalkers should be only targeted on opponent's turn, preferably in upkeep or draw step before their abilities can be used. And sometimes creature might be targeted because of its abilities, to make them unusable or to force opponent to use them immediately when it would be better to wait.

Code: Select all
Name:Decoction Module
ManaCost:2
Types:Artifact
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature | Execute$ TrigEnergy | TriggerDescription$ Whenever a creature enters the battlefield under your control, you get {E} (an energy counter).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 1
A:AB$ ChangeZone | Cost$ 4 T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target creature you control to its owner's hand.
SVar:Picture:http://www.wizards.com/global/images/magic/general/decoction_module.jpg
Oracle:Whenever a creature enters the battlefield under your control, you get {E} (an energy counter).\n{4}, {T}: Return target creature you control to its owner's hand.
Code: Select all
Name:Demon of Dark Schemes
ManaCost:3 B B B
Types:Creature Demon
PT:5/5
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPumpAll | TriggerDescription$ When CARDNAME enters the battlefield, all other creatures get -2/-2 until end of turn.
SVar:TrigPumpAll:AB$ PumpAll | Cost$ 0 | NumAtt$ -2 | NumDef$ -2 | ValidCards$ Creature.other | IsCurse$ True
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.other | TriggerZones$ Battlefield | Execute$ TrigEnergy | TriggerDescription$ Whenever another creature dies, you get {E} (an energy counter).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 1
A:AB$ ChangeZone | Cost$ 2 B PayEnergy<4> | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Select target creature card in a graveyard | ValidTgts$ Creature | ChangeNum$ 1 | Tapped$ True | SpellDescription$ Put target creature card from a graveyard onto the battlefield under your control tapped.
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/demon_of_dark_schemes.jpg
Oracle:Flying\nWhen Demon of Dark Schemes enters the battlefield, all other creatures get -2/-2 until end of turn.\nWhenever another creature dies, you get {E} (an energy counter).\n{2}{B}, Pay {E}{E}{E}{E}: Put target creature card from a graveyard onto the battlefield under your control tapped.
Code: Select all
Name:Dhund Operative
ManaCost:1 B
Types:Creature Human Rogue
PT:2/2
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddKeyword$ Deathtouch | CheckSVar$ X | SVarCompare$ GE1 | Description$ As long as you control an artifact, CARDNAME +1/+0 and has deathtouch. (Any amount of damage it deals to a creature is enough to destroy it.)
SVar:X:Count$Valid Artifact.YouCtrl
SVar:BuffedBy:Artifact
SVar:Picture:http://www.wizards.com/global/images/magic/general/dhund_operative.jpg
Oracle:As long as you control an artifact, Dhund Operative gets +1/+0 and has deathtouch. (Any amount of damage it deals to a creature is enough to destroy it.)
Code: Select all
Name:Die Young
ManaCost:1 B
Types:Instant
A:SP$ PutCounter | Cost$ 1 B | Defined$ You | CounterType$ ENERGY | CounterNum$ 2 | SubAbility$ DBPump | SpellDescription$ Choose target creature. You get {E}{E} (two energy counters), then you may pay any amount of {E}. The creature gets -1/-1 until end of turn for each {E} paid this way.
SVar:DBPump:DB$Pump | Cost$ PayEnergy<X> | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True
SVar:X:Count$xPaid
SVar:Picture:http://www.wizards.com/global/images/magic/general/die_young.jpg
Oracle:Choose target creature. You get {E}{E} (two energy counters), then you may pay any amount of {E}. The creature gets -1/-1 until end of turn for each {E} paid this way.
Does it work like this?

Code: Select all
Name:Disappearing Act
ManaCost:1 U U
Types:Instant
A:SP$ Counter | Cost$ 1 U U Return<1/Permanent> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | Destination$ Graveyard | SpellDescription$ Counter target spell.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/disappearing_act.jpg
Oracle:As an additional cost to cast Disappearing Act, return a permanent you control to its owner's hand.\nCounter target spell.
Code: Select all
Name:Dramatic Reversal
ManaCost:1 U
Types:Instant
A:SP$ UntapAll | Cost$ 1 U | ValidCards$ Permanent.nonLand+YouCtrl | SpellDescription$ Untap all nonland permanents you control.
SVar:Picture:http://www.wizards.com/global/images/magic/general/dramatic_reversal.jpg
Oracle:Untap all nonland permanents you control.
Code: Select all
Name:Dukhara Peafowl
ManaCost:4
Types:Artifact Creature Bird
PT:2/4
A:AB$ Pump | Cost$ U | KW$ Flying | Defined$ Self | SpellDescription$ CARDNAME gains flying until end of turn.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/dukhara_peafowl.jpg
Oracle:{U}: Dukhara Peafowl gains flying until end of turn.
Code: Select all
Name:Dukhara Scavenger
ManaCost:5 B
Types:Creature Crocodile
PT:4/6
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put target artifact or creature card from your graveyard on top of your library.
SVar:TrigChange:AB$ ChangeZone | Cost$ 0 | TgtPrompt$ Choose target artifact or creature card in your graveyard | ValidTgts$ Artifact,Creature | TargetsWithDefinedController$ TriggeredCardController | Origin$ Graveyard | Destination$ Library
SVar:Picture:http://www.wizards.com/global/images/magic/general/dukhara_scavenger.jpg
Oracle:When Dukhara Scavenger enters the battlefield, you may put target artifact or creature card from your graveyard on top of your library.
Code: Select all
Name:Durable Handicraft
ManaCost:1 G
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature enters the battlefield under your control, you may pay {1}. If you do, put a +1/+1 counter on that creature.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 1 | Defined$ TriggeredCard | CounterType$ P1P1 | CounterNum$ 1
A:AB$ PutCounterAll | Cost$ 5 G Sac<1/CARDNAME> | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on each creature you control.
SVar:Picture:http://www.wizards.com/global/images/magic/general/durable_handicraft.jpg
Oracle:Whenever a creature enters the battlefield under your control, you may pay {1}. If you do, put a +1/+1 counter on that creature.\n{5}{G}, Sacrifice Durable Handicraft: Put a +1/+1 counter on each creature you control.
Code: Select all
Name:Dynavolt Tower
ManaCost:3
Types:Artifact
T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigEnergy | TriggerDescription$ Whenever you cast an instant or sorcery spell, you get {E}{E} (two energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
A:AB$ DealDamage | Cost$ T PayEnergy<4> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature or player.
SVar:BuffedBy:Instant,Sorcery
DeckHints:Type$Instant|Sorcery
SVar:Picture:http://www.wizards.com/global/images/magic/general/dynavolt_tower.jpg
Oracle:Whenever you cast an instant or sorcery spell, you get {E}{E} (two energy counters).\n{T}, Pay {E}{E}{E}{E}: Dynavolt Tower deals 3 damage to target creature or player.
Skipped:
Dubious Challenge - not sure how to do the choices involved
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Kaladesh spoiler season

Postby Marek14 » 17 Sep 2016, 19:11

Kaladesh Pass - E

Code: Select all
Name:Eddytrail Hawk
ManaCost:1 W
Types:Creature Bird
PT:1/2
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E} (two energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, you may pay {E}. If you do, another target attacking creature gains flying until end of turn.
SVar:TrigPump:AB$ Pump | Cost$ PayEnergy<1> | ValidTgts$ Creature.attacking+Other | TgtPrompt$ Select another target attacking creature | KW$ Flying
SVar:HasAttackEffect:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/eddytrail_hawk.jpg
Oracle:Flying\nWhen Eddytrail Hawk enters the battlefield, you get {E}{E} (two energy counters).\nWhenever Eddytrail Hawk attacks, you may pay {E}. If you do, another target attacking creature gains flying until end of turn.
Code: Select all
Name:Electrostatic Pummeler
ManaCost:3
Types:Artifact Creature Construct
PT:1/1
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E} (three energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 3
A:AB$ Pump | Cost$ PayEnergy<3> | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is its power.
SVar:X:Count$CardPower
SVar:Picture:http://www.wizards.com/global/images/magic/general/electrostatic_pummeler.jpg
Oracle:When Electrostatic Pummeler enters the battlefield, you get {E}{E}{E} (three energy counters).\nPay {E}{E}{E}: Electrostatic Pummeler gets +X/+X until end of turn, where X is its power.
Code: Select all
Name:Elegant Edgecrafters
ManaCost:4 G G
Types:Creature Elf Artificer
PT:3/4
K:CantBeBlockedBy Creature.powerLE2
K:Fabricate:2
SVar:Picture:http://www.wizards.com/global/images/magic/general/elegant_edgecrafters.jpg
Oracle:Elegant Edgecrafters can't be blocked by creatures with power 2 or less.\nFabricate 2 (When this creature enters the battlefield, put two +1/+1 counters on it or create two 1/1 colorless Servo artifact creature tokens.)
Code: Select all
Name:Eliminate the Competition
ManaCost:4 B
Types:Sorcery
A:SP$ Destroy | Cost$ 4 B Sac<X/Creature> | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select target creatures | References$ X | SpellDescription$ Destroy X target creatures.
SVar:X:XChoice
#ChosenX SVar created by Cost payment
SVar:Picture:http://www.wizards.com/global/images/magic/general/eliminate_the_competition.jpg
Oracle:As an additional cost to cast Eliminate the Competition, sacrifice X creatures.\nDestroy X target creatures.
Code: Select all
Name:Embraal Bruiser
ManaCost:1 B
Types:Creature Human Warrior
PT:3/1
K:CARDNAME enters the battlefield tapped.
S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Menace | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME has menace as long as you control an artifact.
SVar:X:Count$Valid Artifact.YouCtrl
SVar:BuffedBy:Artifact
SVar:Picture:http://www.wizards.com/global/images/magic/general/embraal_bruiser.jpg
Oracle:Embraal Bruiser enters the battlefield tapped.\nEmbraal Bruiser has menace as long as you control an artifact.
Code: Select all
Name:Empyreal Voyager
ManaCost:1 G U
Types:Creature Vedalken Scout
PT:2/3
K:Flying
K:Trample
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigEnergy | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you get that many {E} (energy counters).
SVar:TrigEnergy:DB$PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ X | References$ X
SVar:X:TriggerCount$DamageAmount
SVar:Picture:http://www.wizards.com/global/images/magic/general/empyreal_voyager.jpg
Oracle:Flying, trample\nWhenever Empyreal Voyager deals combat damage to a player, you get that many {E} (energy counters).
Code: Select all
Name:Engineered Might
ManaCost:3 G W
Types:Sorcery
A:SP$ Charm | Cost$ 3 G W | Choices$ DBPump,DBPumpAll | CharmNum$ 1 | SpellDescription$ Choose one - Target creature gets +5/+5 and gains trample until end of turn; Creatures you control get +2/+2 and gain vigilance until end of turn.
SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature. | NumAtt$ 2 | NumDef$ 5 | KW$ Trample | SpellDescription$ Target creature gets +5/+5 and gains trample until end of turn.
SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +2 | KW$ Vigilance | SpellDescription$ Creatures you control get +2/+2 and gain vigilance until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/engineered_might.jpg
Oracle:Choose one -\n• Target creature gets +5/+5 and gains trample until end of turn.\n• Creatures you control get +2/+2 and gain vigilance until end of turn.
Code: Select all
Name:Era of Innovation
ManaCost:1 U
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Artifact.YouCtrl,Permanent.Artificer+YouCtrl | Execute$ TrigEnergy | TriggerDescription$ Whenever an artifact or Artificer enters the battlefield under your control, you may pay {1}. If you do, you get {E}{E} (two energy counters).
SVar:TrigEnergy:DB$ PutCounter | Cost$ 1 | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
A:AB$ Draw | Cost$ PayEnergy<6> Sac<1/CARDNAME> | NumCards$ 3 | SpellDescription$ Draw three cards.
SVar:BuffedBy:Artifact,Artificer
DeckHints:Type$Artifact|Artificer
SVar:Picture:http://www.wizards.com/global/images/magic/general/era_of_innovation.jpg
Oracle:Whenever an artifact or Artificer enters the battlefield under your control, you may pay {1}. If you do, you get {E}{E} (two energy counters).\nPay {E}{E}{E}{E}{E}{E}, Sacrifice Era of Innovation: Draw three cards.
Code: Select all
Name:Experimental Aviator
ManaCost:3 U U
Types:Creature Human Artificer
PT:0/3
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create two 1/1 colorless Thopter artifact creature tokens with flying.
SVar:TrigToken:AB$ Token | Cost$ 0 | TokenAmount$ 2 | TokenName$ Thopter | TokenTypes$ Artifact,Creature,Thopter | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying | TokenImage$ c 1 1 thopter KLD | TokenAltImages$ c_1_1_thopter2_KLD,c_1_1_thopter3_KLD
SVar:Picture:http://www.wizards.com/global/images/magic/general/experimental_aviator.jpg
Oracle:Flying\nWhen Experimental Aviator enters the battlefield, create two 1/1 colorless Thopter artifact creature tokens with flying.
Skipped:
Eager Construct - not sure how to let each player optionally scry.

Notes:
Scuttling Doom Engine has a typo in ability (opponnent)
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Kaladesh spoiler season

Postby Hanmac » 18 Sep 2016, 00:23

@all:
while looking how to do Crew correct with the restriction that about "can't crew" i noticed that in AiCostDecision for CostTapType, AI is excluded to pay cost with "sharesCreatureTypeWith" or "withTotalPowerGE". Means that AI never will be able to pay the Crew cost. Preventing it from using Vehicle. :(

Someone might look if there can add some logic to it.

Edit:
thanks @friarsol for doing that.
i did extend the CostTapType and CostDecision with "CARDNAME can't crew a vehicle", which is needed for that Pacifism Aura.

for chooseTapTypeAccumulatePower, i will try to add more logic into it, so that it prefer Useless Creatures (like can't attack or block)
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 94 guests

cron

Who is online

In total there are 94 users online :: 0 registered, 0 hidden and 94 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 94 guests

Login Form