mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added Radiate
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
8
res/cardsfolder/r/radiate.txt
Normal file
8
res/cardsfolder/r/radiate.txt
Normal file
@@ -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
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user