mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- FRF: Added Dark Deal and Write Into Being
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -4048,6 +4048,7 @@ forge-gui/res/cardsfolder/d/daring_thief.txt -text
|
|||||||
forge-gui/res/cardsfolder/d/dark_banishing.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/d/dark_banishing.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/d/dark_betrayal.txt -text
|
forge-gui/res/cardsfolder/d/dark_betrayal.txt -text
|
||||||
forge-gui/res/cardsfolder/d/dark_confidant.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/d/dark_confidant.txt svneol=native#text/plain
|
||||||
|
forge-gui/res/cardsfolder/d/dark_deal.txt -text
|
||||||
forge-gui/res/cardsfolder/d/dark_depths.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/d/dark_depths.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/d/dark_favor.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/d/dark_favor.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/d/dark_hatchling.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/d/dark_hatchling.txt svneol=native#text/plain
|
||||||
@@ -15733,6 +15734,7 @@ forge-gui/res/cardsfolder/w/wretched_banquet.txt -text
|
|||||||
forge-gui/res/cardsfolder/w/wrexial_the_risen_deep.txt -text
|
forge-gui/res/cardsfolder/w/wrexial_the_risen_deep.txt -text
|
||||||
forge-gui/res/cardsfolder/w/wring_flesh.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/w/wring_flesh.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/w/writ_of_passage.txt -text
|
forge-gui/res/cardsfolder/w/writ_of_passage.txt -text
|
||||||
|
forge-gui/res/cardsfolder/w/write_into_being.txt -text
|
||||||
forge-gui/res/cardsfolder/w/wu_admiral.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/w/wu_admiral.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/w/wu_elite_cavalry.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/w/wu_elite_cavalry.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/w/wu_infantry.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/w/wu_infantry.txt svneol=native#text/plain
|
||||||
|
|||||||
@@ -208,13 +208,19 @@ public class DigEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
int j = 0;
|
int j = 0;
|
||||||
String prompt = "Choose a card to put into " + destZone1.name();
|
String prompt;
|
||||||
if (destZone1.equals(ZoneType.Library)) {
|
|
||||||
if (libraryPosition == -1) {
|
if (sa.hasParam("PrimaryPrompt")) {
|
||||||
prompt = "Choose a card to put on the bottom of {player's} library";
|
prompt = sa.getParam("PrimaryPrompt");
|
||||||
}
|
} else {
|
||||||
else if (libraryPosition == 0) {
|
prompt = "Choose a card to put into " + destZone1.name();
|
||||||
prompt = "Choose a card to put on top of {player's} library";
|
if (destZone1.equals(ZoneType.Library)) {
|
||||||
|
if (libraryPosition == -1) {
|
||||||
|
prompt = "Choose a card to put on the bottom of {player's} library";
|
||||||
|
}
|
||||||
|
else if (libraryPosition == 0) {
|
||||||
|
prompt = "Choose a card to put on top of {player's} library";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
12
forge-gui/res/cardsfolder/d/dark_deal.txt
Normal file
12
forge-gui/res/cardsfolder/d/dark_deal.txt
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Name:Dark Deal
|
||||||
|
ManaCost:2 B
|
||||||
|
Types:Sorcery
|
||||||
|
A:SP$ RepeatEach | Cost$ 2 B | RepeatPlayers$ Player | RepeatSubAbility$ DBDiscard | SpellDescription$ Each player discards all the cards in his or her hand, then draws that many cards minus one.
|
||||||
|
SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw
|
||||||
|
SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | References$ X | SubAbility$ CleanDrawn
|
||||||
|
SVar:CleanDrawn:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
# This calculation isn't considering the remembered player, only the remembered cards?
|
||||||
|
SVar:X:Remembered$Amount.Minus.1
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:RemRandomDeck:True
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_deal.jpg
|
||||||
8
forge-gui/res/cardsfolder/w/write_into_being.txt
Normal file
8
forge-gui/res/cardsfolder/w/write_into_being.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Name:Write into Being
|
||||||
|
ManaCost:2 U
|
||||||
|
Types:Instant
|
||||||
|
A:SP$ Dig | Cost$ 2 U | DigNum$ 2 | ChangeNum$ 1 | NoLooking$ True | RememberChanged$ True | PrimaryPrompt$ Choose a card to Manifest | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | SkipReorder$ True | SubAbility$ DBManifest | SpellDescription$ Look at the top two cards of your library. Manifest one of those cards, then put the other on the top or bottom of your library. (To manifest a card, put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.) | StackDescription$ SpellDescription
|
||||||
|
SVar:DBManifest:DB$ Manifest | Amount$ 1 | Defined$ Remembered | SubAbility$ DBDigRemaining
|
||||||
|
SVar:DBDigRemaining:DB$ Dig | DigNum$ 1 | ChangeNum$ 1 | NoLooking$ True | Optional$ True | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBCleanup | StackDescription$ None
|
||||||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/write_into_being.jpg
|
||||||
Reference in New Issue
Block a user