diff --git a/.gitattributes b/.gitattributes index 9a5086f0d68..b8d937e955e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8428,6 +8428,7 @@ res/cardsfolder/r/radiant_essence.txt svneol=native#text/plain res/cardsfolder/r/radiant_kavu.txt -text res/cardsfolder/r/radiants_dragoons.txt svneol=native#text/plain res/cardsfolder/r/radiants_judgment.txt svneol=native#text/plain +res/cardsfolder/r/radiate.txt -text res/cardsfolder/r/radjan_spirit.txt svneol=native#text/plain res/cardsfolder/r/rafiq_of_the_many.txt svneol=native#text/plain res/cardsfolder/r/rag_dealer.txt -text diff --git a/res/cardsfolder/r/radiate.txt b/res/cardsfolder/r/radiate.txt new file mode 100644 index 00000000000..30473e19c96 --- /dev/null +++ b/res/cardsfolder/r/radiate.txt @@ -0,0 +1,8 @@ +Name:Radiate +ManaCost:3 R R +Types:Instant +A:SP$ CopySpellAbility | Cost$ 3 R R | ValidTgts$ Instant,Sorcery | TargetsSingleTarget$ True | TargetValidTargeting$ Permanent,Player | Controller$ You | CopyForEachCanTarget$ True | CanTargetPlayer$ True | SpellDescription$ Choose target instant or sorcery spell that targets only a single permanent or player. Copy that spell for each other permanent or player the spell could target. Each copy targets a different one of those permanents and players. +SVar:RemAIDeck:True +SVar:Picture:http://www.wizards.com/global/images/magic/general/radiate.jpg +Oracle:Choose target instant or sorcery spell that targets only a single permanent or player. Copy that spell for each other permanent or player the spell could target. Each copy targets a different one of those permanents and players. +SetInfo:TOR Rare \ No newline at end of file diff --git a/src/main/java/forge/card/ability/effects/CopySpellAbilityEffect.java b/src/main/java/forge/card/ability/effects/CopySpellAbilityEffect.java index cbc9d070574..c1e7038b242 100644 --- a/src/main/java/forge/card/ability/effects/CopySpellAbilityEffect.java +++ b/src/main/java/forge/card/ability/effects/CopySpellAbilityEffect.java @@ -113,7 +113,10 @@ public class CopySpellAbilityEffect extends SpellAbilityEffect { } chosenSA.setActivatingPlayer(controller); List candidates = chosenSA.getTarget().getAllCandidates(chosenSA, true); - if (sa.hasParam("CanTargetPlayer")) {// Radiate + if (sa.hasParam("CanTargetPlayer")) { + // Radiate + // Remove targeted players because getAllCandidates include all the valid players + candidates.removeAll(chosenSA.getTarget().getTargetPlayers()); for (Object o : candidates) { CardFactory.copySpellontoStack(card, chosenSA.getSourceCard(), chosenSA, true, o); }