mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 06:52:02 -08:00
Adding targets (Part 3/3) (#13769)
Adds target and/or target adjuster to cards whose abilities have the word "target", cards S-Z. Add `spellCast` value to `CastSpellPaidBySourceTriggeredAbility`.
This commit is contained in:
parent
b24a20fec4
commit
5db4beac6c
13 changed files with 209 additions and 499 deletions
|
|
@ -71,7 +71,8 @@ public class CastSpellPaidBySourceTriggeredAbility extends TriggeredAbilityImpl
|
|||
if (setTargetPointer) {
|
||||
this.getAllEffects().setTargetPointer(new FixedTarget(spell.getId(), game));
|
||||
}
|
||||
this.getEffects().setValue("spellCast", spell);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue