mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Added Belligerent Hatchling, Noxious Hatchling, Sturdy Hatchling, Voracious Hatchling
This commit is contained in:
@@ -18,6 +18,10 @@ forest.jpg http://resources.wizards.com/magic/cards/unh/en-us/card73946.jpg
|
|||||||
forest1.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=2748
|
forest1.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=2748
|
||||||
forest2.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=587
|
forest2.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=587
|
||||||
forest3.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=586
|
forest3.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=586
|
||||||
|
Belligerent_Hatchling.jpg http://www.wizards.com/global/images/magic/general/Belligerent_Hatchling.jpg
|
||||||
|
Noxious_Hatchling.jpg http://www.wizards.com/global/images/magic/general/Noxious_Hatchling.jpg
|
||||||
|
Sturdy_Hatchling.jpg http://www.wizards.com/global/images/magic/general/Sturdy_Hatchling.jpg
|
||||||
|
Voracious_Hatchling.jpg http://www.wizards.com/global/images/magic/general/Voracious_Hatchling.jpg
|
||||||
glimpse_the_unthinkable.jpg http://www.wizards.com/global/images/magic/general/glimpse_the_unthinkable.jpg
|
glimpse_the_unthinkable.jpg http://www.wizards.com/global/images/magic/general/glimpse_the_unthinkable.jpg
|
||||||
tome_scour.jpg http://www.wizards.com/global/images/magic/general/tome_scour.jpg
|
tome_scour.jpg http://www.wizards.com/global/images/magic/general/tome_scour.jpg
|
||||||
memory_erosion.jpg http://www.wizards.com/global/images/magic/general/memory_erosion.jpg
|
memory_erosion.jpg http://www.wizards.com/global/images/magic/general/memory_erosion.jpg
|
||||||
|
|||||||
@@ -1,3 +1,31 @@
|
|||||||
|
Belligerent Hatchling
|
||||||
|
3 RW
|
||||||
|
Creature Elemental
|
||||||
|
Belligerent Hatchling enters the battlefield with four -1/-1 counters on it. Whenever you cast a red spell, remove a -1/-1 counter from Belligerent Hatchling. Whenever you cast a white spell, remove a -1/-1 counter from Belligerent Hatchling.
|
||||||
|
6/6
|
||||||
|
First Strike
|
||||||
|
|
||||||
|
Noxious Hatchling
|
||||||
|
3 BG
|
||||||
|
Creature Elemental
|
||||||
|
Noxious Hatchling enters the battlefield with four -1/-1 counters on it. Whenever you cast a black spell, remove a -1/-1 counter from Noxious Hatchling. Whenever you cast a green spell, remove a -1/-1 counter from Noxious Hatchling.
|
||||||
|
6/6
|
||||||
|
Wither
|
||||||
|
|
||||||
|
Sturdy Hatchling
|
||||||
|
3 GU
|
||||||
|
Creature Elemental
|
||||||
|
Sturdy Hatchling enters the battlefield with four -1/-1 counters on it. Whenever you cast a green spell, remove a -1/-1 counter from Sturdy Hatchling. Whenever you cast a blue spell, remove a -1/-1 counter from Sturdy Hatchling.
|
||||||
|
6/6
|
||||||
|
KPump GU:Shroud
|
||||||
|
|
||||||
|
Voracious Hatchling
|
||||||
|
3 WB
|
||||||
|
Creature Elemental
|
||||||
|
Voracious Hatchling enters the battlefield with four -1/-1 counters on it. Whenever you cast a white spell, remove a -1/-1 counter from Voracious Hatchling. Whenever you cast a black spell, remove a -1/-1 counter from Voracious Hatchling.
|
||||||
|
6/6
|
||||||
|
Lifelink
|
||||||
|
|
||||||
Glimpse the Unthinkable
|
Glimpse the Unthinkable
|
||||||
U B
|
U B
|
||||||
Sorcery
|
Sorcery
|
||||||
|
|||||||
@@ -16,7 +16,31 @@ public class CardFactory_Creatures {
|
|||||||
|
|
||||||
public static Card getCard(final Card card, String cardName, String owner, CardFactory cf)
|
public static Card getCard(final Card card, String cardName, String owner, CardFactory cf)
|
||||||
{
|
{
|
||||||
|
//*************** START *********** START **************************
|
||||||
|
else if(cardName.equals("Belligerent Hatchling") || cardName.equals("Noxious Hatchling")
|
||||||
|
||cardName.equals("Shrewd Hatchling") ||cardName.equals("Sturdy Hatchling")
|
||||||
|
|| cardName.equals("Voracious Hatchling"))
|
||||||
|
{
|
||||||
|
final SpellAbility ability = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
card.addCounter(Counters.M1M1, 4);
|
||||||
|
}//resolve()
|
||||||
|
};//SpellAbility
|
||||||
|
Command intoPlay = new Command()
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 4757054648163014149L;
|
||||||
|
|
||||||
|
public void execute()
|
||||||
|
{
|
||||||
|
AllZone.Stack.add(ability);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
ability.setStackDescription(cardName + "enters the battlefield with four -1/-1 counters on it.");
|
||||||
|
card.addComesIntoPlayCommand(intoPlay);
|
||||||
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
if(cardName.equals("Filthy Cur"))
|
if(cardName.equals("Filthy Cur"))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -83,7 +83,10 @@ public class GameActionUtil
|
|||||||
// card gets played
|
// card gets played
|
||||||
// (called in MagicStack.java)
|
// (called in MagicStack.java)
|
||||||
Card c = sa.getSourceCard();
|
Card c = sa.getSourceCard();
|
||||||
|
playCard_Belligerent_Hatchling(c);
|
||||||
|
playCard_Voracious_Hatchling(c);
|
||||||
|
playCard_Sturdy_Hatchling(c);
|
||||||
|
playCard_Noxious_Hatchling(c);
|
||||||
playCard_Forced_Fruition(c);
|
playCard_Forced_Fruition(c);
|
||||||
playCard_Standstill(c);
|
playCard_Standstill(c);
|
||||||
playCard_Memory_Erosion(c);
|
playCard_Memory_Erosion(c);
|
||||||
@@ -99,7 +102,249 @@ public class GameActionUtil
|
|||||||
playCard_Mold_Adder(c);
|
playCard_Mold_Adder(c);
|
||||||
playCard_Fable_of_Wolf_and_Owl(c);
|
playCard_Fable_of_Wolf_and_Owl(c);
|
||||||
}
|
}
|
||||||
|
public static void playCard_Belligerent_Hatchling(Card c)
|
||||||
|
{
|
||||||
|
final String controller = c.getController();
|
||||||
|
|
||||||
|
final PlayerZone play = AllZone.getZone(Constant.Zone.Play,
|
||||||
|
controller);
|
||||||
|
|
||||||
|
CardList list = new CardList();
|
||||||
|
list.addAll(play.getCards());
|
||||||
|
|
||||||
|
list = list.getName("Belligerent Hatchling");
|
||||||
|
|
||||||
|
if (list.size() > 0){
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.Red))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability2 = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability2
|
||||||
|
|
||||||
|
ability2.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a red spell, remove a -1/-1 counter from Belligerent Hatchling.");
|
||||||
|
AllZone.Stack.add(ability2);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.White))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability
|
||||||
|
|
||||||
|
ability.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a white spell, remove a -1/-1 counter from Belligerent Hatchling.");
|
||||||
|
AllZone.Stack.add(ability);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
|
||||||
|
|
||||||
|
}// Belligerent Hatchling
|
||||||
|
|
||||||
|
public static void playCard_Noxious_Hatchling(Card c)
|
||||||
|
{
|
||||||
|
final String controller = c.getController();
|
||||||
|
|
||||||
|
final PlayerZone play = AllZone.getZone(Constant.Zone.Play,
|
||||||
|
controller);
|
||||||
|
|
||||||
|
CardList list = new CardList();
|
||||||
|
list.addAll(play.getCards());
|
||||||
|
|
||||||
|
list = list.getName("Noxious Hatchling");
|
||||||
|
|
||||||
|
if (list.size() > 0){
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.Black))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability2 = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability2
|
||||||
|
|
||||||
|
ability2.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a black spell, remove a -1/-1 counter from Noxious Hatchling.");
|
||||||
|
AllZone.Stack.add(ability2);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.Green))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability
|
||||||
|
|
||||||
|
ability.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a green spell, remove a -1/-1 counter from Noxious Hatchling.");
|
||||||
|
AllZone.Stack.add(ability);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
|
||||||
|
|
||||||
|
}// Noxious Hatchling
|
||||||
|
|
||||||
|
public static void playCard_Sturdy_Hatchling(Card c)
|
||||||
|
{
|
||||||
|
final String controller = c.getController();
|
||||||
|
|
||||||
|
final PlayerZone play = AllZone.getZone(Constant.Zone.Play,
|
||||||
|
controller);
|
||||||
|
|
||||||
|
CardList list = new CardList();
|
||||||
|
list.addAll(play.getCards());
|
||||||
|
|
||||||
|
list = list.getName("Sturdy Hatchling");
|
||||||
|
|
||||||
|
if (list.size() > 0){
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.Blue))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability2 = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability2
|
||||||
|
|
||||||
|
ability2.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a blue spell, remove a -1/-1 counter from Sturdy Hatchling.");
|
||||||
|
AllZone.Stack.add(ability2);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.Green))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability
|
||||||
|
|
||||||
|
ability.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a green spell, remove a -1/-1 counter from Sturdy Hatchling.");
|
||||||
|
AllZone.Stack.add(ability);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
|
||||||
|
|
||||||
|
}// Sturdy Hatchling
|
||||||
|
|
||||||
|
public static void playCard_Voracious_Hatchling(Card c)
|
||||||
|
{
|
||||||
|
final String controller = c.getController();
|
||||||
|
|
||||||
|
final PlayerZone play = AllZone.getZone(Constant.Zone.Play,
|
||||||
|
controller);
|
||||||
|
|
||||||
|
CardList list = new CardList();
|
||||||
|
list.addAll(play.getCards());
|
||||||
|
|
||||||
|
list = list.getName("Voracious Hatchling");
|
||||||
|
|
||||||
|
if (list.size() > 0){
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.Black))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability2 = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability2
|
||||||
|
|
||||||
|
ability2.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a black spell, remove a -1/-1 counter from Voracious Hatchling.");
|
||||||
|
AllZone.Stack.add(ability2);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CardUtil.getColors(c).contains(Constant.Color.White))
|
||||||
|
{
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
if (card.getCounters(Counters.M1M1)>0)
|
||||||
|
card.subtractCounter(Counters.M1M1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability
|
||||||
|
|
||||||
|
ability.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played a white spell, remove a -1/-1 counter from Voracious Hatchling.");
|
||||||
|
AllZone.Stack.add(ability);
|
||||||
|
}
|
||||||
|
}//if
|
||||||
|
|
||||||
|
|
||||||
|
}// Voracious Hatchling
|
||||||
public static void playCard_Forced_Fruition(Card c)
|
public static void playCard_Forced_Fruition(Card c)
|
||||||
{
|
{
|
||||||
PlayerZone hplay = AllZone.getZone(Constant.Zone.Play,
|
PlayerZone hplay = AllZone.getZone(Constant.Zone.Play,
|
||||||
|
|||||||
Reference in New Issue
Block a user