- Added Jeweled Torque.

This commit is contained in:
Sloth
2011-10-04 10:57:57 +00:00
parent 78d2cb58e9
commit d44352f451
8 changed files with 80 additions and 48 deletions

1
.gitattributes vendored
View File

@@ -4022,6 +4022,7 @@ res/cardsfolder/j/jesters_cap.txt svneol=native#text/plain
res/cardsfolder/j/jesters_mask.txt svneol=native#text/plain
res/cardsfolder/j/jet_medallion.txt svneol=native#text/plain
res/cardsfolder/j/jeweled_spirit.txt svneol=native#text/plain
res/cardsfolder/j/jeweled_torque.txt -text
res/cardsfolder/j/jhessian_balmgiver.txt -text
res/cardsfolder/j/jhessian_infiltrator.txt svneol=native#text/plain
res/cardsfolder/j/jhessian_lookout.txt svneol=native#text/plain

View File

@@ -1,16 +1,18 @@
Name:Chromatic Armor
ManaCost:1 W U
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 1 W U | ValidTgts$ Creature | AILogic$ Pump
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color.
SVar:ChooseColor:DB$ ChooseColor | Defined$ You
K:etbCounter:SLEIGHT:1
S:Mode$ PreventDamage | Target$ Creature.EnchantedBy | Source$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by a source of the last chosen color.
A:AB$ PutCounter | Cost$ X | Defined$ Self | CounterType$ SLEIGHT | CounterNum$ 1 | SubAbility$ ChooseColor | SpellDescription$ Put a sleight counter on CARDNAME and choose a color. X is the number of sleight counters on CARDNAME.
SVar:X:Count$CardCounters.SLEIGHT
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/chromatic_armor.jpg
Name:Chromatic Armor
ManaCost:1 W U
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 1 W U | ValidTgts$ Creature | AILogic$ Pump
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color.
SVar:ChooseColor:DB$ ChooseColor | Defined$ You
K:etbCounter:SLEIGHT:1
S:Mode$ PreventDamage | Target$ Creature.EnchantedBy | Source$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by a source of the last chosen color.
A:AB$ PutCounter | Cost$ X | Defined$ Self | CounterType$ SLEIGHT | CounterNum$ 1 | SubAbility$ ChooseColor | SpellDescription$ Put a sleight counter on CARDNAME and choose a color. X is the number of sleight counters on CARDNAME.
SVar:X:Count$CardCounters.SLEIGHT
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/chromatic_armor.jpg
SetInfo:ICE|Rare|http://magiccards.info/scans/en/ia/361.jpg
Oracle:Enchant creature\nAs Chromatic Armor enters the battlefield, choose a color.\nChromatic Armor enters the battlefield with a sleight counter on it.\nPrevent all damage that would be dealt to enchanted creature by a source of the last chosen color.\n{X}: Put a sleight counter on Chromatic Armor and choose a color. X is the number of sleight counters on Chromatic Armor.
End

View File

@@ -9,4 +9,10 @@ SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | Defined$ TriggeredCardController | Nu
SVar:Y:TriggeredCard$CardToughness
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/creature_bond.jpg
SetInfo:LEA|Common|http://magiccards.info/scans/en/al/56.jpg
SetInfo:LEB|Common|http://magiccards.info/scans/en/be/56.jpg
SetInfo:3ED|Common|http://magiccards.info/scans/en/rv/55.jpg
SetInfo:4ED|Common|http://magiccards.info/scans/en/4e/66.jpg
SetInfo:2ED|Common|http://magiccards.info/scans/en/un/56.jpg
Oracle:Enchant creature\nWhen enchanted creature dies, Creature Bond deals damage equal to that creature's toughness to the creature's controller.
End

View File

@@ -1,13 +1,16 @@
Name:Infinite Hourglass
ManaCost:4
Types:Artifact
Text:no text
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a time counter on CARDNAME.
SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ TIME | CounterNum$ 1
S:Mode$ Continuous | Affected$ Creature | AddPower$ +X | Description$ All creatures get +1/+0 for each time counter on CARDNAME.
SVar:X:Count$CardCounters.TIME
A:AB$ RemoveCounter | Cost$ 3 | CounterType$ TIME | CounterNum$ 1 | ActivationPhases$ Upkeep | AnyPlayer$ True | SpellDescription$ Remove a time counter from CARDNAME. Any player may activate this ability but only during any upkeep step.
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/infinite_hourglass.jpg
Name:Infinite Hourglass
ManaCost:4
Types:Artifact
Text:no text
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a time counter on CARDNAME.
SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ TIME | CounterNum$ 1
S:Mode$ Continuous | Affected$ Creature | AddPower$ +X | Description$ All creatures get +1/+0 for each time counter on CARDNAME.
SVar:X:Count$CardCounters.TIME
A:AB$ RemoveCounter | Cost$ 3 | CounterType$ TIME | CounterNum$ 1 | ActivationPhases$ Upkeep | AnyPlayer$ True | SpellDescription$ Remove a time counter from CARDNAME. Any player may activate this ability but only during any upkeep step.
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/infinite_hourglass.jpg
SetInfo:5ED|Rare|http://magiccards.info/scans/en/5e/378.jpg
SetInfo:ICE|Rare|http://magiccards.info/scans/en/ia/298.jpg
Oracle:At the beginning of your upkeep, put a time counter on Infinite Hourglass.\nAll creatures get +1/+0 for each time counter on Infinite Hourglass.\n{3}: Remove a time counter from Infinite Hourglass. Any player may activate this ability but only during any upkeep step.
End

View File

@@ -0,0 +1,13 @@
Name:Jeweled Torque
ManaCost:2
Types:Artifact
Text:no text
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True| TriggerDescription$ As CARDNAME enters the battlefield, choose a color.
SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You | AILogic$ MostProminentInGame
T:Mode$ SpellCast | ValidCard$ Card.ChosenColor | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a player casts a spell of the chosen color, you may pay 2. If you do, you gain 2 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 2 | Defined$ You | LifeAmount$ 2
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/jeweled_torque.jpg
SetInfo:MMQ|Uncommon|http://magiccards.info/scans/en/mm/301.jpg
Oracle:As Jeweled Torque enters the battlefield, choose a color.\nWhenever a player casts a spell of the chosen color, you may pay {2}. If you do, you gain 2 life.
End

View File

@@ -1,13 +1,15 @@
Name:Song of Blood
ManaCost:1 R
Types:Sorcery
Text:no text
A:SP$ Mill | Cost$ 1 R | NumCards$ 4 | Defined$ You | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Put the top four cards of your library into your graveyard. Whenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way.
SVar:DBEffect:DB$ Effect | Cost$ 0 | Name$ Song of Blood Effect | Triggers$ TrigAttacks | SVars$ Pump,X | RememberCard$ Remembered
SVar:TrigAttacks:Mode$ Attacks | ValidCard$ Creature.YouCtrl | Execute$ Pump | TriggerDescription$ Whenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way.
SVar:Pump:AB$ Pump | Cost$ 0 | Defined$ TriggeredAttacker | NumAtt$ +X
SVar:X:Remembered$Valid Creature
SVar:RemRandomDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/song_of_blood.jpg
Name:Song of Blood
ManaCost:1 R
Types:Sorcery
Text:no text
A:SP$ Mill | Cost$ 1 R | NumCards$ 4 | Defined$ You | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Put the top four cards of your library into your graveyard. Whenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way.
SVar:DBEffect:DB$ Effect | Cost$ 0 | Name$ Song of Blood Effect | Triggers$ TrigAttacks | SVars$ Pump,X | RememberCard$ Remembered
SVar:TrigAttacks:Mode$ Attacks | ValidCard$ Creature.YouCtrl | Execute$ Pump | TriggerDescription$ Whenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way.
SVar:Pump:AB$ Pump | Cost$ 0 | Defined$ TriggeredAttacker | NumAtt$ +X
SVar:X:Remembered$Valid Creature
SVar:RemRandomDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/song_of_blood.jpg
SetInfo:VIS|Common|http://magiccards.info/scans/en/vi/94.jpg
Oracle:Put the top four cards of your library into your graveyard.\nWhenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way.
End

View File

@@ -1,10 +1,12 @@
Name:Whiteout
ManaCost:1 G
Types:Instant
Text:no text
A:SP$ DebuffAll | Cost$ 1 G | ValidCards$ Creature | Keywords$ Flying | SpellDescription$ All creatures lose flying until end of turn.
A:AB$ ChangeZone | Cost$ Sac<1/Land.Snow/snow land> | ActivationZone$ Graveyard | Defined$ Self | Origin$ Graveyard | Destination$ Hand | SpellDescription$ Return CARDNAME from your graveyard to your hand.
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/whiteout.jpg
Name:Whiteout
ManaCost:1 G
Types:Instant
Text:no text
A:SP$ DebuffAll | Cost$ 1 G | ValidCards$ Creature | Keywords$ Flying | SpellDescription$ All creatures lose flying until end of turn.
A:AB$ ChangeZone | Cost$ Sac<1/Land.Snow/snow land> | ActivationZone$ Graveyard | Defined$ Self | Origin$ Graveyard | Destination$ Hand | SpellDescription$ Return CARDNAME from your graveyard to your hand.
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/whiteout.jpg
SetInfo:ICE|Uncommon|http://magiccards.info/scans/en/ia/163.jpg
Oracle:All creatures lose flying until end of turn.\nSacrifice a snow land: Return Whiteout from your graveyard to your hand.
End

View File

@@ -585,6 +585,9 @@ public class AbilityFactory_Choose {
chosen = CardFactoryUtil.getMostProminentColor(
AllZoneUtil.getCardsInGame().getController(AllZone.getHumanPlayer()));
}
if (logic.equals("MostProminentInGame")) {
chosen = CardFactoryUtil.getMostProminentColor(AllZoneUtil.getCardsInGame());
}
}
if (chosen.equals("")) {
chosen = Constant.Color.Green;