- Added Thran Quarry.

- Added Glimmervoid. 

Note: Two other cards follow this card structure, Mark of the Oni and Stenchskipper and can be coded up pretty quickly
This commit is contained in:
jendave
2011-08-06 05:06:22 +00:00
parent 8b2fb8576c
commit a446881fe8
5 changed files with 64 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
thran_quarry.jpg http://www.wizards.com/global/images/magic/general/thran_quarry.jpg
glimmervoid.jpg http://www.wizards.com/global/images/magic/general/glimmervoid.jpg
natures_lore.jpg http://www.wizards.com/global/images/magic/general/natures_lore.jpg natures_lore.jpg http://www.wizards.com/global/images/magic/general/natures_lore.jpg
monk_idealist.jpg http://www.wizards.com/global/images/magic/general/monk_idealist.jpg monk_idealist.jpg http://www.wizards.com/global/images/magic/general/monk_idealist.jpg
hermit_druid.jpg http://www.wizards.com/global/images/magic/general/hermit_druid.jpg hermit_druid.jpg http://www.wizards.com/global/images/magic/general/hermit_druid.jpg

View File

@@ -1,3 +1,23 @@
Thran Quarry
no cost
Land
At the beginning of the end step, if you control no creatures, sacrifice CARDNAME
tap: add W
tap: add B
tap: add U
tap: add R
tap: add G
Glimmervoid
no cost
Land
At the beginning of the end step, if you control no artifacts, sacrifice CARDNAME
tap: add W
tap: add B
tap: add U
tap: add R
tap: add G
Nature's Lore Nature's Lore
1 G 1 G
Sorcery Sorcery

View File

@@ -289,6 +289,7 @@ Gilded Lotus
Gilt-Leaf Archdruid Gilt-Leaf Archdruid
Giltspire Avenger Giltspire Avenger
Glacial Fortress Glacial Fortress
Glimmervoid
Glimpse the Unthinkable Glimpse the Unthinkable
Glint-Eye Nephilim Glint-Eye Nephilim
Global Ruin Global Ruin
@@ -797,6 +798,7 @@ Thornling
Thornscape Master Thornscape Master
Thought Devourer Thought Devourer
Thoughtseize Thoughtseize
Thran Quarry
Threads of Disloyalty Threads of Disloyalty
Thriss, Nantuko Primus Thriss, Nantuko Primus
Thrumming Stone Thrumming Stone

View File

@@ -36,6 +36,8 @@ public class EndOfTurn implements java.io.Serializable
GameActionUtil.endOfTurn_Predatory_Advantage(); GameActionUtil.endOfTurn_Predatory_Advantage();
GameActionUtil.endOfTurn_Wall_Of_Reverence(); GameActionUtil.endOfTurn_Wall_Of_Reverence();
GameActionUtil.endOfTurn_Lighthouse_Chronologist(); GameActionUtil.endOfTurn_Lighthouse_Chronologist();
GameActionUtil.endOfTurn_Thran_Quarry();
GameActionUtil.endOfTurn_Glimmervoid();
//GameActionUtil.removeExaltedEffects(); //GameActionUtil.removeExaltedEffects();
GameActionUtil.removeAttackedBlockedThisTurn(); GameActionUtil.removeAttackedBlockedThisTurn();

View File

@@ -3729,6 +3729,44 @@ public class GameActionUtil {
} }
} }
public static void endOfTurn_Thran_Quarry()
{
final String player = AllZone.Phase.getActivePlayer();
final PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player);
CardList list = new CardList(playZone.getCards());
CardList quarries = list.getName("Thran Quarry");
if (quarries.size() == 0) return;
CardList creatures = list.getType("Creature");
if (creatures.size() == 0){
for(Card c : quarries){
AllZone.GameAction.sacrifice(c);
}
}
}
public static void endOfTurn_Glimmervoid()
{
final String player = AllZone.Phase.getActivePlayer();
final PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player);
CardList list = new CardList(playZone.getCards());
CardList glimmers = list.getName("Glimmervoid");
if (glimmers.size() == 0) return;
CardList artifacts = list.getType("Artifact");
if (artifacts.size() == 0){
for(Card c : glimmers){
AllZone.GameAction.sacrifice(c);
}
}
}
//END ENDOFTURN CARDS //END ENDOFTURN CARDS