rename EarthbendEffect class

This commit is contained in:
theelk801 2025-08-12 18:03:35 -04:00
parent 5841d63c60
commit 2f88c051bf
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
package mage.cards.e;
import mage.abilities.effects.keyword.EarthbendEffect;
import mage.abilities.effects.keyword.EarthbendTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -21,7 +21,7 @@ public final class EarthbendingLesson extends CardImpl {
this.subtype.add(SubType.LESSON);
// Earthbend 4.
this.getSpellAbility().addEffect(new EarthbendEffect(4));
this.getSpellAbility().addEffect(new EarthbendTargetEffect(4));
this.getSpellAbility().addTarget(new TargetPermanent(StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND));
}

View file

@ -22,23 +22,23 @@ import mage.util.CardUtil;
/**
* @author TheElk801
*/
public class EarthbendEffect extends OneShotEffect {
public class EarthbendTargetEffect extends OneShotEffect {
private final int amount;
public EarthbendEffect(int amount) {
public EarthbendTargetEffect(int amount) {
super(Outcome.Benefit);
this.amount = amount;
}
private EarthbendEffect(final EarthbendEffect effect) {
private EarthbendTargetEffect(final EarthbendTargetEffect effect) {
super(effect);
this.amount = effect.amount;
}
@Override
public EarthbendEffect copy() {
return new EarthbendEffect(this);
public EarthbendTargetEffect copy() {
return new EarthbendTargetEffect(this);
}
@Override