mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- 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:
@@ -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_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
|
||||
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
|
||||
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
|
||||
|
||||
@@ -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
|
||||
1 G
|
||||
Sorcery
|
||||
|
||||
@@ -289,6 +289,7 @@ Gilded Lotus
|
||||
Gilt-Leaf Archdruid
|
||||
Giltspire Avenger
|
||||
Glacial Fortress
|
||||
Glimmervoid
|
||||
Glimpse the Unthinkable
|
||||
Glint-Eye Nephilim
|
||||
Global Ruin
|
||||
@@ -797,6 +798,7 @@ Thornling
|
||||
Thornscape Master
|
||||
Thought Devourer
|
||||
Thoughtseize
|
||||
Thran Quarry
|
||||
Threads of Disloyalty
|
||||
Thriss, Nantuko Primus
|
||||
Thrumming Stone
|
||||
|
||||
@@ -36,6 +36,8 @@ public class EndOfTurn implements java.io.Serializable
|
||||
GameActionUtil.endOfTurn_Predatory_Advantage();
|
||||
GameActionUtil.endOfTurn_Wall_Of_Reverence();
|
||||
GameActionUtil.endOfTurn_Lighthouse_Chronologist();
|
||||
GameActionUtil.endOfTurn_Thran_Quarry();
|
||||
GameActionUtil.endOfTurn_Glimmervoid();
|
||||
|
||||
//GameActionUtil.removeExaltedEffects();
|
||||
GameActionUtil.removeAttackedBlockedThisTurn();
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user