[KHM] Implemented Boreal Outrider

This commit is contained in:
Evan Kranzler 2021-01-21 19:16:04 -05:00
parent 241ef4c6eb
commit 567059ea82
4 changed files with 130 additions and 2 deletions

View file

@ -70,10 +70,11 @@ public class SpellCastControllerTriggeredAbility extends TriggeredAbilityImpl {
Spell spell = game.getStack().getSpell(event.getTargetId());
if (spell != null && filter.match(spell, getSourceId(), getControllerId(), game)) {
if (rememberSource) {
this.getEffects().setValue("spellCast", spell);
if (rememberSourceAsCard) {
this.getEffects().get(0).setTargetPointer(new FixedTarget(spell.getCard().getId(), game));
this.getEffects().setTargetPointer(new FixedTarget(spell.getCard().getId(), game));
} else {
this.getEffects().get(0).setTargetPointer(new FixedTarget(spell.getId(), game));
this.getEffects().setTargetPointer(new FixedTarget(spell.getId(), game));
}
}