mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Added Scheme: Nature Demands an Offering
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -7546,6 +7546,7 @@ res/cardsfolder/n/natural_order.txt svneol=native#text/plain
|
||||
res/cardsfolder/n/natural_selection.txt svneol=native#text/plain
|
||||
res/cardsfolder/n/natural_spring.txt svneol=native#text/plain
|
||||
res/cardsfolder/n/naturalize.txt svneol=native#text/plain
|
||||
res/cardsfolder/n/nature_demands_an_offering.txt -text
|
||||
res/cardsfolder/n/natures_blessing.txt -text
|
||||
res/cardsfolder/n/natures_chosen.txt svneol=native#text/plain
|
||||
res/cardsfolder/n/natures_claim.txt svneol=native#text/plain
|
||||
|
||||
20
res/cardsfolder/n/nature_demands_an_offering.txt
Normal file
20
res/cardsfolder/n/nature_demands_an_offering.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
Name:Nature Demands an Offering
|
||||
ManaCost:no cost
|
||||
Types:Scheme
|
||||
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ ChooseCreature | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, target opponent chooses a creature you don't control and puts it on top of its owner's library, then repeats this process for an artifact, an enchantment, and a land. Then the owner of each permanent chosen this way shuffles his or her library.
|
||||
SVar:ChooseCreature:AB$ ChooseCard | ValidTgts$ Opponent | Cost$ 0 | Choices$ Creature.YouDontCtrl | Mandatory$ True | SubAbility$ BounceCreature
|
||||
SVar:BounceCreature:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Battlefield | Destination$ Library | Imprint$ True | UnImprint$ True | LibraryPosition$ 0 | SubAbility$ DBRemember1
|
||||
SVar:DBRemember1:DB$ Pump | RememberObjects$ ImprintedOwner | SubAbility$ ChooseArtifact
|
||||
SVar:ChooseArtifact:DB$ ChooseCard | Defined$ ParentTarget | Choices$ Artifact.YouDontCtrl | Mandatory$ True | SubAbility$ BounceArtifact
|
||||
SVar:BounceArtifact:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Battlefield | Destination$ Library | Imprint$ True | UnImprint$ True | LibraryPosition$ 0 | SubAbility$ DBRemember2
|
||||
SVar:DBRemember2:DB$ Pump | RememberObjects$ ImprintedOwner | SubAbility$ ChooseEnchant
|
||||
SVar:ChooseEnchant:DB$ ChooseCard | Defined$ ParentTarget | Choices$ Enchantment.YouDontCtrl | Mandatory$ True | SubAbility$ BounceEnchant
|
||||
SVar:BounceEnchant:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Battlefield | Destination$ Library | Imprint$ True | UnImprint$ True | LibraryPosition$ 0 | SubAbility$ DBRemember3
|
||||
SVar:DBRemember3:DB$ Pump | RememberObjects$ ImprintedOwner | SubAbility$ ChooseLand
|
||||
SVar:ChooseLand:DB$ ChooseCard | Defined$ ParentTarget | Choices$ Land.YouDontCtrl | Mandatory$ True | SubAbility$ BounceLand
|
||||
SVar:BounceLand:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Battlefield | Destination$ Library | Imprint$ True | UnImprint$ True | LibraryPosition$ 0 | SubAbility$ DBRemember4
|
||||
SVar:DBRemember4:DB$ Pump | RememberObjects$ ImprintedOwner | SubAbility$ DBShuffle
|
||||
SVar:DBShuffle:DB$ Shuffle | Defined$ Remembered | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True
|
||||
SVar:Picture:http://www.cardforge.org/fpics/lq_schemes/nature_demands_an_offering.jpg
|
||||
Oracle:When you set this scheme in motion, target opponent chooses a creature you don't control and puts it on top of its owner's library, then repeats this process for an artifact, an enchantment, and a land. Then the owner of each permanent chosen this way shuffles his or her library.
|
||||
@@ -805,6 +805,10 @@ public class AbilityUtils {
|
||||
for (final Card rem : card.getImprinted()) {
|
||||
players.add(rem.getController());
|
||||
}
|
||||
} else if (defined.equals("ImprintedOwner")) {
|
||||
for (final Card rem : card.getImprinted()) {
|
||||
players.add(rem.getOwner());
|
||||
}
|
||||
} else if (defined.startsWith("Triggered")) {
|
||||
final SpellAbility root = sa.getRootAbility();
|
||||
Object o = null;
|
||||
|
||||
Reference in New Issue
Block a user