mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Updated the card text for Witch-Maw Nephilim.
- Added a GameActionUtil.showYesNoDialog() to Witch-Maw Nephilim.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Name:Witch-Maw Nephilim
|
Name:Witch-Maw Nephilim
|
||||||
ManaCost:G W U B
|
ManaCost:G W U B
|
||||||
Types:Creature Nephilim
|
Types:Creature Nephilim
|
||||||
Text:Whenever you play a spell, you may put two +1/+1 counters on Witch-Maw Nephilim.\r\nWhenever Witch-Maw Nephilim attacks, it gains trample until end of turn if its power is 10 or greater.
|
Text:Whenever you cast a spell, you may put two +1/+1 counters on Witch-Maw Nephilim.\r\nWhenever Witch-Maw Nephilim attacks, it gains trample until end of turn if its power is 10 or greater.
|
||||||
PT:1/1
|
PT:1/1
|
||||||
SVar:BuffedBy:Spell
|
SVar:BuffedBy:Spell
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
|
|||||||
@@ -2387,10 +2387,9 @@ public class GameActionUtil {
|
|||||||
public void resolve() {
|
public void resolve() {
|
||||||
|
|
||||||
if (card.getController().equals(AllZone.HumanPlayer)) {
|
if (card.getController().equals(AllZone.HumanPlayer)) {
|
||||||
String[] choices = {"Yes", "No"};
|
String question = "Put two +1/+1 counters on Witch-Maw Nephilim?";
|
||||||
Object choice = AllZone.Display.getChoice("Put two +1/+1 on Witch-Maw Nephilim?",
|
|
||||||
choices);
|
if (GameActionUtil.showYesNoDialog(card, question)) {
|
||||||
if(choice.equals("Yes")) {
|
|
||||||
card.addCounter(Counters.P1P1, 2);
|
card.addCounter(Counters.P1P1, 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2398,12 +2397,11 @@ public class GameActionUtil {
|
|||||||
card.addCounter(Counters.P1P1, 2);
|
card.addCounter(Counters.P1P1, 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // ability2
|
}; // ability2
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(card.getName()).append(" - ").append(c.getController());
|
sb.append(card.getName()).append(" - ").append(c.getController());
|
||||||
sb.append(" played a spell, you may put two +1/+1 counters on Witch-Maw Nephilim.");
|
sb.append(" played a spell and may put two +1/+1 counters on Witch-Maw Nephilim.");
|
||||||
ability2.setStackDescription(sb.toString());
|
ability2.setStackDescription(sb.toString());
|
||||||
|
|
||||||
AllZone.Stack.add(ability2);
|
AllZone.Stack.add(ability2);
|
||||||
|
|||||||
Reference in New Issue
Block a user