mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Galvanoth.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -3304,6 +3304,7 @@ res/cardsfolder/g/galvanic_arc.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/galvanic_blast.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/galvanic_juggernaut.txt -text
|
||||
res/cardsfolder/g/galvanic_key.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/galvanoth.txt -text
|
||||
res/cardsfolder/g/gamble.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/game_trail_changeling.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/gamekeeper.txt -text
|
||||
|
||||
13
res/cardsfolder/g/galvanoth.txt
Normal file
13
res/cardsfolder/g/galvanoth.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Name:Galvanoth
|
||||
ManaCost:3 R R
|
||||
Types:Creature Beast
|
||||
Text:no text
|
||||
PT:3/3
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may look at the top card of your library. If it's an instant or sorcery card, you may cast it without paying its mana cost.
|
||||
SVar:TrigDig:AB$ Dig | Cost$ 0 | DigNum$ 1 | NoMove$ True | SubAbility$ TrigPlay
|
||||
SVar:TrigPlay:DB$ Play | Defined$ TopOfLibrary | WithoutManaCost$ True | Optional$ True | ConditionDefined$ TopOfLibrary | ConditionPresent$ Instant,Sorcery | ConditionCompare$ EQ1
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/galvanoth.jpg
|
||||
SetInfo:MBS|Rare|http://magiccards.info/scans/en/mbs/62.jpg
|
||||
Oracle:At the beginning of your upkeep, you may look at the top card of your library. If it's an instant or sorcery card, you may cast it without paying its mana cost.
|
||||
End
|
||||
@@ -6,7 +6,7 @@ PT:5/5
|
||||
K:Vigilance
|
||||
K:Trample
|
||||
K:Haste
|
||||
A:AB$ Play | Cost$ W U B R G | TgtZone$ Graveyard | WithoutManaCost$ True | ValidTgts$ Elemental.YouCtrl | TgtPrompt$ Choose target Elemental card from your graveyard | SpellDescription$ You may play target Elemental card from your graveyard without paying its mana cost.
|
||||
A:AB$ Play | Cost$ W U B R G | TgtZone$ Graveyard | WithoutManaCost$ True | ValidTgts$ Elemental.YouCtrl | TgtPrompt$ Choose target Elemental card from your graveyard | Optional$ True | SpellDescription$ You may play target Elemental card from your graveyard without paying its mana cost.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/horde_of_notions.jpg
|
||||
SetInfo:LRW|Rare|http://magiccards.info/scans/en/lw/249.jpg
|
||||
|
||||
@@ -2,7 +2,7 @@ Name:Memory Plunder
|
||||
ManaCost:UB UB UB UB
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Play | Cost$ UB UB UB UB | TgtZone$ Graveyard | WithoutManaCost$ True | ValidTgts$ Instant.YouDontCtrl,Sorcery.YouDontCtrl | TgtPrompt$ Choose target instant or sorcery card from an opponent's graveyard | SpellDescription$ You may cast target instant or sorcery card from an opponent's graveyard without paying its mana cost.
|
||||
A:SP$ Play | Cost$ UB UB UB UB | TgtZone$ Graveyard | WithoutManaCost$ True | ValidTgts$ Instant.YouDontCtrl,Sorcery.YouDontCtrl | TgtPrompt$ Choose target instant or sorcery card from an opponent's graveyard | Optional$ True | SpellDescription$ You may cast target instant or sorcery card from an opponent's graveyard without paying its mana cost.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/memory_plunder.jpg
|
||||
|
||||
@@ -27,6 +27,7 @@ import forge.AllZoneUtil;
|
||||
import forge.Card;
|
||||
import forge.CardList;
|
||||
import forge.ComputerUtil;
|
||||
import forge.GameActionUtil;
|
||||
import forge.Player;
|
||||
import forge.Constant.Zone;
|
||||
import forge.card.cardfactory.CardFactoryUtil;
|
||||
@@ -336,6 +337,11 @@ public final class AbilityFactoryPlay {
|
||||
}
|
||||
|
||||
Card tgtCard = tgtCards.get(0);
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
sb.append("Do you want to play " + tgtCard + "?");
|
||||
if (controller.isHuman() && params.containsKey("Optional") && !GameActionUtil.showYesNoDialog(card, sb.toString())) {
|
||||
return;
|
||||
}
|
||||
if (tgtCard.isLand()) {
|
||||
controller.playLand(tgtCard);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user