mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
raiding_party.txt and support
This commit is contained in:
@@ -135,5 +135,10 @@ public class ChooseCardEffect extends SpellAbilityEffect {
|
||||
host.removeRemembered(rem);
|
||||
}
|
||||
}
|
||||
if (sa.hasParam("ImprintChosen")) {
|
||||
for (final Card imp : chosen) {
|
||||
host.addImprintedCard(imp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
17
forge-gui/res/cardsfolder/r/raiding_party.txt
Normal file
17
forge-gui/res/cardsfolder/r/raiding_party.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
Name:Raiding Party
|
||||
ManaCost:2 R
|
||||
Types:Enchantment
|
||||
S:Mode$ CantTarget | ValidCard$ Card.Self | ValidSource$ Card.White | Description$ CARDNAME can't be the target of white spells or abilities from white sources.
|
||||
A:AB$ RepeatEach | Cost$ Sac<1/Orc/Orc> | CostDesc$ Sacrifice an Orc: | RepeatPlayers$ Player | RepeatSubAbility$ ChooseCardsToTap | SubAbility$ DBDestroy | SpellDescription$ Each player may tap any number of untapped white creatures they control. For each creature tapped this way, that player chooses up to two Plains. Then destroy all Plains that weren’t chosen this way by any player.
|
||||
SVar:ChooseCardsToTap:DB$ ChooseCard | Defined$ Remembered | MinAmount$ 0 | Amount$ NumCreatures | References$ NumCreatures | Choices$ Creature.untapped+White+RememberedPlayerCtrl | ChoiceTitle$ Choose any number of untapped white creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ DBTap
|
||||
SVar:DBTap:DB$ Tap | Defined$ Remembered | SubAbility$ ChoosePlainsToSave
|
||||
SVar:ChoosePlainsToSave:DB$ ChooseCard | Defined$ Remembered | MinAmount$ 0 | Amount$ TappedXTwo | References$ TappedXTwo | Choices$ Plains | ChoiceTitle$ Choose up to two Plains for each creature tapped | ChoiceZone$ Battlefield | ImprintChosen$ True | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True
|
||||
SVar:DBDestroy:DB$ DestroyAll | ValidCards$ Plains.IsNotImprinted | SubAbility$ DBCleanImp | StackDescription$ None
|
||||
SVar:DBCleanImp:DB$ Cleanup | ClearImprinted$ True
|
||||
SVar:NumCreatures:Count$Valid Creature.untapped+White+RememberedPlayerCtrl
|
||||
SVar:TappedXTwo:Count$Valid Creature.IsRemembered/Times.2
|
||||
AI:RemoveDeck:Random
|
||||
SVar:NeedsToPlay:Plains.OppCtrl
|
||||
DeckNeeds:Type$Orc
|
||||
Oracle:Raiding Party can’t be the target of white spells or abilities from white sources.\nSacrifice an Orc: Each player may tap any number of untapped white creatures they control. For each creature tapped this way, that player chooses up to two Plains. Then destroy all Plains that weren’t chosen this way by any player.
|
||||
Reference in New Issue
Block a user