raiding_party.txt and support

This commit is contained in:
Northmoc
2020-12-06 23:02:39 -05:00
parent 8076682d1b
commit 37461aa3e5
2 changed files with 22 additions and 0 deletions

View File

@@ -135,5 +135,10 @@ public class ChooseCardEffect extends SpellAbilityEffect {
host.removeRemembered(rem); host.removeRemembered(rem);
} }
} }
if (sa.hasParam("ImprintChosen")) {
for (final Card imp : chosen) {
host.addImprintedCard(imp);
}
}
} }
} }

View 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 werent 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 cant 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 werent chosen this way by any player.