forked from External/mage
Removed dead code from Valakut Exploration (#7316)
This commit is contained in:
parent
fde31b6252
commit
adbeb5a328
1 changed files with 0 additions and 29 deletions
|
|
@ -5,7 +5,6 @@ import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
|||
import mage.abilities.common.LandfallAbility;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility;
|
||||
import mage.abilities.effects.AsThoughEffectImpl;
|
||||
import mage.abilities.effects.ContinuousEffect;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.asthought.PlayFromNotOwnHandZoneTargetEffect;
|
||||
|
|
@ -106,34 +105,6 @@ class ValakutExplorationExileEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class ValakutExplorationCastFromExileEffect extends AsThoughEffectImpl {
|
||||
|
||||
ValakutExplorationCastFromExileEffect() {
|
||||
super(AsThoughEffectType.PLAY_FROM_NOT_OWN_HAND_ZONE, Duration.EndOfGame, Outcome.Benefit);
|
||||
staticText = "You may play the card from exile";
|
||||
}
|
||||
|
||||
private ValakutExplorationCastFromExileEffect(final ValakutExplorationCastFromExileEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ValakutExplorationCastFromExileEffect copy() {
|
||||
return new ValakutExplorationCastFromExileEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
|
||||
return source.isControlledBy(affectedControllerId)
|
||||
&& objectId.equals(getTargetPointer().getFirst(game, source));
|
||||
}
|
||||
}
|
||||
|
||||
class ValakutExplorationDamageEffect extends OneShotEffect {
|
||||
|
||||
ValakutExplorationDamageEffect() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue