MKC: feather_radiant_arbiter + support (#4862)

This commit is contained in:
Northmoc
2024-03-23 10:00:44 -04:00
committed by GitHub
parent 7977933261
commit 0864ae272c
2 changed files with 19 additions and 0 deletions

View File

@@ -605,6 +605,12 @@ public class CardProperty {
if (!card.canBeAttached(source, null)) { if (!card.canBeAttached(source, null)) {
return false; return false;
} }
} else if (property.startsWith("CanBeTargetedBy")) {
final String def = property.substring(15);
final SpellAbility targetingSA = AbilityUtils.getDefinedSpellAbilities(source, def, spellAbility).get(0);
if (!targetingSA.canTarget(card)) {
return false;
}
} else if (property.startsWith("HauntedBy")) { } else if (property.startsWith("HauntedBy")) {
if (!card.isHauntedBy(source)) { if (!card.isHauntedBy(source)) {
return false; return false;

View File

@@ -0,0 +1,13 @@
Name:Feather, Radiant Arbiter
ManaCost:R W W
Types:Legendary Creature Angel
PT:4/3
K:Flying
K:Lifelink
T:Mode$ SpellAbilityCast | ValidSA$ Spell.nonCreature | ValidActivatingPlayer$ You | IsSingleTarget$ True | TargetsValid$ Card.Self | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a noncreature spell that targets only CARDNAME, you may choose any number of other creatures that spell could target and pay {2} for each of those creatures. If you do, for each of those creatures, copy that spell. The copy targets that creature. (Copies of permanent spells become tokens.)
SVar:TrigChoose:DB$ ChooseCard | ChoiceTitle$ Choose any number of other creatures that spell could target | Choices$ Creature.Other+CanBeTargetedByTriggeredSpellAbility | MinAmount$ 0 | Amount$ Count$Valid Creature.Other+CanBeTargetedByTriggeredSpellAbility | SubAbility$ CopySpell
SVar:CopySpell:DB$ CopySpellAbility | DefinedTarget$ ChosenCard | UnlessCost$ CopyCost | UnlessPayer$ You | UnlessSwitched$ True | Defined$ TriggeredSpellAbility | Controller$ You | SubAbility$ DBCleanup
SVar:CopyCost:Count$ChosenSize/Times.2
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
DeckHas:Ability$LifeGain
Oracle:Flying, lifelink\nWhenever you cast a noncreature spell that targets only Feather, Radiant Arbiter, you may choose any number of other creatures that spell could target and pay {2} for each of those creatures. If you do, for each of those creatures, copy that spell. The copy targets that creature. (Copies of permanent spells become tokens.)