mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Added Creakwood Liege.
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
Creakwood Liege
|
||||||
|
2 BG BG BG
|
||||||
|
Creature Horror
|
||||||
|
At the beginning of your upkeep, you may put a 1/1 black and green Worm creature token onto the battlefield.
|
||||||
|
2/2
|
||||||
|
StaticEffect:Play:Permanents you Control:PTBonus/1/1:Color.green!NotSelf:Other green creatures you control get +1/+1.
|
||||||
|
StaticEffect:Play:Permanents you Control:PTBonus/1/1:Color.black!NotSelf:Other black creatures you control get +1/+1.
|
||||||
|
SVar:PlayMain1:TRUE
|
||||||
|
SVar:Rarity:Rare
|
||||||
|
|
||||||
Murkfiend Liege
|
Murkfiend Liege
|
||||||
2 UG UG UG
|
2 UG UG UG
|
||||||
Creature Horror
|
Creature Horror
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ public class GameActionUtil {
|
|||||||
upkeep_Sleeper_Agent();
|
upkeep_Sleeper_Agent();
|
||||||
upkeep_Cursed_Land();
|
upkeep_Cursed_Land();
|
||||||
upkeep_Pillory_of_the_Sleepless();
|
upkeep_Pillory_of_the_Sleepless();
|
||||||
|
upkeep_Creakwood_Liege();
|
||||||
upkeep_Bringer_of_the_Green_Dawn();
|
upkeep_Bringer_of_the_Green_Dawn();
|
||||||
upkeep_Bringer_of_the_Blue_Dawn();
|
upkeep_Bringer_of_the_Blue_Dawn();
|
||||||
upkeep_Bringer_of_the_White_Dawn();
|
upkeep_Bringer_of_the_White_Dawn();
|
||||||
@@ -9232,6 +9233,43 @@ public class GameActionUtil {
|
|||||||
}// for
|
}// for
|
||||||
}// upkeep_Fledgling_Djinn()
|
}// upkeep_Fledgling_Djinn()
|
||||||
|
|
||||||
|
private static void upkeep_Creakwood_Liege() {
|
||||||
|
final String player = AllZone.Phase.getActivePlayer();
|
||||||
|
PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player);
|
||||||
|
|
||||||
|
CardList list = new CardList(playZone.getCards());
|
||||||
|
list = list.getName("Creakwood Liege");
|
||||||
|
|
||||||
|
Ability ability;
|
||||||
|
for(int i = 0; i < list.size(); i++) {
|
||||||
|
final Card crd = list.get(i);
|
||||||
|
ability = new Ability(list.get(i), "0") {
|
||||||
|
@Override
|
||||||
|
public void resolve() {
|
||||||
|
String[] choices = {"Yes", "No"};
|
||||||
|
|
||||||
|
Object q = null;
|
||||||
|
if(player.equals(Constant.Player.Human)) {
|
||||||
|
q = AllZone.Display.getChoiceOptional("Use Creakwood Liege?", choices);
|
||||||
|
|
||||||
|
if(q == null || q.equals("No")) return;
|
||||||
|
if(q.equals("Yes")) {
|
||||||
|
CardFactoryUtil.makeToken("Worm", "B G 1 1 Worm", crd, "B G", new String[] {
|
||||||
|
"Creature", "Worm"}, 1, 1, new String[] {""});
|
||||||
|
}
|
||||||
|
} else if(player.equals(Constant.Player.Computer)) {
|
||||||
|
CardFactoryUtil.makeToken("Worm", "B G 1 1 Worm", crd, "B G", new String[] {
|
||||||
|
"Creature", "Worm"}, 1, 1, new String[] {""});
|
||||||
|
}
|
||||||
|
}// resolve()
|
||||||
|
};// Ability
|
||||||
|
ability.setStackDescription("Creakwood Liege - " + player
|
||||||
|
+ " puts a 1/1 Green Black Worm creature token into play.");
|
||||||
|
|
||||||
|
AllZone.Stack.add(ability);
|
||||||
|
}// for
|
||||||
|
}// upkeep_Creakwood_Liege
|
||||||
|
|
||||||
private static void upkeep_Murkfiend_Liege()
|
private static void upkeep_Murkfiend_Liege()
|
||||||
{
|
{
|
||||||
final String player = AllZone.Phase.getActivePlayer();
|
final String player = AllZone.Phase.getActivePlayer();
|
||||||
|
|||||||
Reference in New Issue
Block a user