mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
add missed filters
This commit is contained in:
parent
f99b8e5981
commit
4688187e4b
1 changed files with 7 additions and 5 deletions
|
@ -37,12 +37,14 @@ import mage.abilities.keyword.FirstStrikeAbility;
|
|||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
* @author North, Eugen
|
||||
*/
|
||||
public class TitanicUltimatum extends CardImpl<TitanicUltimatum> {
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Creatures");
|
||||
|
||||
public TitanicUltimatum(UUID ownerId) {
|
||||
super(ownerId, 204, "Titanic Ultimatum", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{R}{R}{G}{G}{G}{W}{W}");
|
||||
|
@ -53,10 +55,10 @@ public class TitanicUltimatum extends CardImpl<TitanicUltimatum> {
|
|||
this.color.setWhite(true);
|
||||
|
||||
// Until end of turn, creatures you control get +5/+5 and gain first strike, lifelink, and trample.
|
||||
this.getSpellAbility().addEffect(new BoostControlledEffect(5, 5, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(LifelinkAbility.getInstance(), Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new BoostControlledEffect(5, 5, Duration.EndOfTurn, filter));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, filter));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(LifelinkAbility.getInstance(), Duration.EndOfTurn, filter));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn, filter));
|
||||
}
|
||||
|
||||
public TitanicUltimatum(final TitanicUltimatum card) {
|
||||
|
|
Loading…
Reference in a new issue