- Added Radiate

This commit is contained in:
swordshine
2013-05-29 00:58:01 +00:00
parent aaaa82b49b
commit 4e01887c56
3 changed files with 13 additions and 1 deletions

View File

@@ -113,7 +113,10 @@ public class CopySpellAbilityEffect extends SpellAbilityEffect {
}
chosenSA.setActivatingPlayer(controller);
List<Object> 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);
}