[ECL] Implement Unexpected Assistance

This commit is contained in:
theelk801 2025-12-11 11:36:07 -05:00
parent 3d4338bf8e
commit efe7372449
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
package mage.cards.u;
import mage.abilities.effects.common.DrawDiscardControllerEffect;
import mage.abilities.keyword.ConvokeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class UnexpectedAssistance extends CardImpl {
public UnexpectedAssistance(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}{U}");
// Convoke
this.addAbility(new ConvokeAbility());
// Draw three cards, then discard a card.
this.getSpellAbility().addEffect(new DrawDiscardControllerEffect(3, 1));
}
private UnexpectedAssistance(final UnexpectedAssistance card) {
super(card);
}
@Override
public UnexpectedAssistance copy() {
return new UnexpectedAssistance(this);
}
}

View file

@ -59,5 +59,6 @@ public final class LorwynEclipsed extends ExpansionSet {
cards.add(new SetCardInfo("Temple Garden", "351b", Rarity.RARE, mage.cards.t.TempleGarden.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Temple Garden", "351b", Rarity.RARE, mage.cards.t.TempleGarden.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Temple Garden", 268, Rarity.RARE, mage.cards.t.TempleGarden.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Temple Garden", 268, Rarity.RARE, mage.cards.t.TempleGarden.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Temple Garden", 351, Rarity.RARE, mage.cards.t.TempleGarden.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Temple Garden", 351, Rarity.RARE, mage.cards.t.TempleGarden.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Unexpected Assistance", 80, Rarity.COMMON, mage.cards.u.UnexpectedAssistance.class));
} }
} }