enControlCreature
This is a fairly simple keyword which takes the code from Control Magic and makes a few modifications which in turn allows a few new cards. This keyword is an early version and will need additional work to implement the last of the cards which could make use of this keyword.
The simplest form of this keyword is:
and Control Magic and similar spells use this form. The next form:
allows several more cards such as Mind Harness and Threads of Disloyalty. I kept the {options} code to a minimum and they serve as a code stub for further expansion in case similar cards are released in the future. The three versions of {options} that are recognized at this time are:
The code which tests for these three options will also look for these three new keywords:
and either form will work. I included both … just for the heck of it.
I did not include the section of code which allows Flash to be used with enControlCreature. If a need arises we can use the code from CardFactory_Util.enPump_Enchant().
I also did not include code for spell description or stack description. This also can be added at a later time if a need arises.
These are the new entries for the cards which use this keyword:
I discovered that I was able to have the enPump and the enControlCreature keyword applied to the same card.
The aura Yavimaya's Embrace works correctly. It does not bring up a choice window for us to select which of the two abilities to select. Both keywords are applied when the spell resolves.
There are six additional cards that could be implemented which would require code in other class files. I have no plans to add these cards myself at this time:
The simplest form of this keyword is:
- Code: Select all
enControlCreature
and Control Magic and similar spells use this form. The next form:
- Code: Select all
enControlCreature:{options}
allows several more cards such as Mind Harness and Threads of Disloyalty. I kept the {options} code to a minimum and they serve as a code stub for further expansion in case similar cards are released in the future. The three versions of {options} that are recognized at this time are:
- Code: Select all
Option=CMC 2 or less
Option=red or green
Option=untap up to 5 lands
The code which tests for these three options will also look for these three new keywords:
- Code: Select all
Enchant creature with converted mana cost 2 or less
Enchant red or green creature
When CARDNAME enters the battlefield, untap up to five lands.
and either form will work. I included both … just for the heck of it.
I did not include the section of code which allows Flash to be used with enControlCreature. If a need arises we can use the code from CardFactory_Util.enPump_Enchant().
I also did not include code for spell description or stack description. This also can be added at a later time if a need arises.
These are the new entries for the cards which use this keyword:
- Code: Select all
Binding Grasp
3 U
Enchantment Aura
You control enchanted creature. Enchanted creature gets +0/+1.
Enchant creature
At the beginning of your upkeep, sacrifice Binding Grasp unless you pay:1 U
enControlCreature
enPump:+0/+1
Control Magic
2 U U
Enchantment Aura
You control enchanted creature.
Enchant creature
enControlCreature
Mind Control
3 U U
Enchantment Aura
You control enchanted creature.
Enchant creature
enControlCreature
Mind Harness
U
Enchantment Aura
You control enchanted creature.
Enchant red or green creature
Cumulative upkeep:1
enControlCreature::Option=red or green
Persuasion
3 U U
Enchantment Aura
You control enchanted creature.
Enchant creature
enControlCreature
Threads of Disloyalty
1 U U
Enchantment Aura
You control enchanted creature.
enControlCreature:Option=CMC 2 or less
Enchant creature with converted mana cost 2 or less
Treachery
3 U U
Enchantment Aura
You control enchanted creature.
Enchant creature
enControlCreature:Option=untap up to 5 lands
When CARDNAME enters the battlefield, untap up to five lands.
Yavimaya's Embrace
5 G U U
Enchantment Aura
You control enchanted creature. Enchanted creature gets +2/+2 and has trample.
Enchant creature
enPump:+2/+2/Trample
enControlCreature
I discovered that I was able to have the enPump and the enControlCreature keyword applied to the same card.
There are six additional cards that could be implemented which would require code in other class files. I have no plans to add these cards myself at this time:
- Code: Select all
Abduction
2UU
Enchantment — Aura
Enchant creature
When Abduction enters the battlefield, untap enchanted creature.
You control enchanted creature.
When enchanted creature is put into a graveyard, return that card to the battlefield under its owner's control.
Biting Tether
4U
Enchantment — Aura
Enchant creature
You control enchanted creature.
At the beginning of your upkeep, put a -1/-1 counter on enchanted creature.
Enslave
4BB
Enchantment — Aura
Enchant creature
You control enchanted creature.
At the beginning of your upkeep, enchanted creature deals 1 damage to its owner.
Krovikan Whispers
3U
Enchantment — Aura
Enchant creature
Cumulative upkeep {U} or {B} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)
You control enchanted creature.
When Krovikan Whispers is put into a graveyard from the battlefield, you lose 2 life for each age counter on it.
Mark of the Oni
2B
Enchantment — Aura
Enchant creature
You control enchanted creature.
At the beginning of the end step, if you control no Demons, sacrifice Mark of the Oni.
Vapor Snare
4U
Enchantment — Aura
Enchant creature
You control enchanted creature.
At the beginning of your upkeep, sacrifice Vapor Snare unless you return a land you control to its owner's hand.