mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
add Serum Powder (from Darksteel)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -7309,6 +7309,7 @@ res/cardsfolder/s/serras_liturgy.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/s/serras_sanctum.txt svneol=native#text/plain
|
res/cardsfolder/s/serras_sanctum.txt svneol=native#text/plain
|
||||||
res/cardsfolder/s/serrated_arrows.txt svneol=native#text/plain
|
res/cardsfolder/s/serrated_arrows.txt svneol=native#text/plain
|
||||||
res/cardsfolder/s/serrated_biskelion.txt svneol=native#text/plain
|
res/cardsfolder/s/serrated_biskelion.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/s/serum_powder.txt -text
|
||||||
res/cardsfolder/s/serum_raker.txt svneol=native#text/plain
|
res/cardsfolder/s/serum_raker.txt svneol=native#text/plain
|
||||||
res/cardsfolder/s/serum_tank.txt svneol=native#text/plain
|
res/cardsfolder/s/serum_tank.txt svneol=native#text/plain
|
||||||
res/cardsfolder/s/serum_visions.txt svneol=native#text/plain
|
res/cardsfolder/s/serum_visions.txt svneol=native#text/plain
|
||||||
|
|||||||
10
res/cardsfolder/s/serum_powder.txt
Normal file
10
res/cardsfolder/s/serum_powder.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Serum Powder
|
||||||
|
ManaCost:3
|
||||||
|
Types:Artifact
|
||||||
|
Text:Any time you could mulligan and CARDNAME is in your hand, you may exile all the cards from your hand, then draw that many cards. (You can do this in addition to taking mulligans.)
|
||||||
|
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
||||||
|
SVar:RemRandomDeck:True
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:Rarity:Rare
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/serum_powder.jpg
|
||||||
|
End
|
||||||
@@ -212,7 +212,16 @@ public class InputMulligan extends Input {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void selectCard(Card c0, PlayerZone z0) {
|
public void selectCard(Card c0, PlayerZone z0) {
|
||||||
if (!Constant.Runtime.OLDGUI[0]) {
|
|
||||||
|
if (c0.getName().equals("Serum Powder") && z0.is(Zone.Hand)) {
|
||||||
|
if (GameActionUtil.showYesNoDialog(c0, "Use " + c0.getName() + "'s ability?")) {
|
||||||
|
CardList hand = c0.getController().getCardsIn(Zone.Hand);
|
||||||
|
for (Card c : hand) {
|
||||||
|
AllZone.getGameAction().exile(c);
|
||||||
|
}
|
||||||
|
c0.getController().drawCards(hand.size());
|
||||||
|
}
|
||||||
|
} else if (!Constant.Runtime.OLDGUI[0]) {
|
||||||
((GuiTopLevel) AllZone.getDisplay()).getController().getMatchController().getView().getInputController().remind();
|
((GuiTopLevel) AllZone.getDisplay()).getController().getMatchController().getView().getInputController().remind();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user