mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Added Treasure Hunt.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -8112,6 +8112,7 @@ res/cardsfolder/t/twisted_image.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/t/twitch.txt svneol=native#text/plain
|
res/cardsfolder/t/twitch.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/typhoon.txt svneol=native#text/plain
|
res/cardsfolder/t/typhoon.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/tyrranax.txt svneol=native#text/plain
|
res/cardsfolder/t/tyrranax.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/treasure_hunt.txt -text
|
||||||
res/cardsfolder/u/uktabi_drake.txt svneol=native#text/plain
|
res/cardsfolder/u/uktabi_drake.txt svneol=native#text/plain
|
||||||
res/cardsfolder/u/uktabi_efreet.txt svneol=native#text/plain
|
res/cardsfolder/u/uktabi_efreet.txt svneol=native#text/plain
|
||||||
res/cardsfolder/u/uktabi_faerie.txt svneol=native#text/plain
|
res/cardsfolder/u/uktabi_faerie.txt svneol=native#text/plain
|
||||||
|
|||||||
9
res/cardsfolder/treasure_hunt.txt
Normal file
9
res/cardsfolder/treasure_hunt.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Name:Treasure Hunt
|
||||||
|
ManaCost:1 U
|
||||||
|
Types:Sorcery
|
||||||
|
Text:no text
|
||||||
|
A:SP$ DigUntil | Cost$ 1 U | Valid$ Card.nonLand | ValidDescription$ nonland | RevealedDestination$ Hand | SpellDescription$ Reveal cards from the top of your library until you reveal a nonland card, then put all cards revealed this way into your hand.
|
||||||
|
SVar:Rarity:Common
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/treasure_hunt.jpg
|
||||||
|
SetInfo:WWK|Common|http://magiccards.info/scans/en/wwk/42.jpg
|
||||||
|
End
|
||||||
@@ -653,6 +653,7 @@ public final class AbilityFactory_Reveal {
|
|||||||
sb.append(". Put ");
|
sb.append(". Put ");
|
||||||
|
|
||||||
String found = params.get("FoundDestination");
|
String found = params.get("FoundDestination");
|
||||||
|
String revealed = params.get("RevealedDestination");
|
||||||
if (found != null) {
|
if (found != null) {
|
||||||
|
|
||||||
sb.append(untilAmount > 1 ? "those cards" : "that card");
|
sb.append(untilAmount > 1 ? "those cards" : "that card");
|
||||||
@@ -662,15 +663,20 @@ public final class AbilityFactory_Reveal {
|
|||||||
if (found.equals(Constant.Zone.Hand)) {
|
if (found.equals(Constant.Zone.Hand)) {
|
||||||
sb.append("into his or her hand ");
|
sb.append("into his or her hand ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (revealed.equals(Constant.Zone.Graveyard)) {
|
||||||
|
sb.append("and all other cards into his or her graveyard.");
|
||||||
|
}
|
||||||
|
if (revealed.equals(Constant.Zone.Exile)) {
|
||||||
|
sb.append("and exile all other cards revealed this way.");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (revealed.equals(Constant.Zone.Hand)) {
|
||||||
|
sb.append("all cards revealed this way into his or her hand");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String revealed = params.get("RevealedDestination");
|
|
||||||
if (revealed.equals(Constant.Zone.Graveyard)) {
|
|
||||||
sb.append("and all other cards into his or her graveyard.");
|
|
||||||
}
|
|
||||||
if (revealed.equals(Constant.Zone.Exile)) {
|
|
||||||
sb.append("and exile all other cards revealed this way.");
|
|
||||||
}
|
|
||||||
|
|
||||||
Ability_Sub abSub = sa.getSubAbility();
|
Ability_Sub abSub = sa.getSubAbility();
|
||||||
if (abSub != null) {
|
if (abSub != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user