forked from External/mage
* Cumulative upkeep cost - fixed that it can lost payed state (cards: Aboroth, Karplusan Minotaur, Psychic Vortex, Sheltering Ancient); * Effects - fixed that it can lost selected targets or other settings (cards: Citadel of Pain, Crimson Honor Guard, Curfew, Leveler, Mana Cache, Monsoon, Paradigm Shift, Saprazzan Bailiff); * Exile all cards from graveyard ability - fixed that it can lost targets (example: Agent of Erebos); * Melee ability - fixed that it can lost targets (example: Adriana, Captain of the Guard).
22 lines
418 B
Java
22 lines
418 B
Java
|
|
|
|
package mage.abilities.effects;
|
|
|
|
import mage.constants.EffectType;
|
|
import mage.constants.Outcome;
|
|
|
|
/**
|
|
*
|
|
* @author BetaSteward_at_googlemail.com
|
|
*/
|
|
public abstract class OneShotEffect extends EffectImpl {
|
|
|
|
public OneShotEffect(Outcome outcome) {
|
|
super(outcome);
|
|
this.effectType = EffectType.ONESHOT;
|
|
}
|
|
|
|
public OneShotEffect(final OneShotEffect effect) {
|
|
super(effect);
|
|
}
|
|
}
|