1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-09 09:11:05 -09:00

Rancid Earth: correct effect dependency

This commit is contained in:
Luna Skyrise 2015-05-11 20:11:35 -03:00
parent 4219c4eeed
commit 0fbb341eac

View file

@ -58,7 +58,7 @@ public class RancidEarth extends CardImpl {
new RancidEarthEffect(),
new DestroyTargetEffect(),
new CardsInControllerGraveCondition(7),
"Destroy target land.<br/><br/><i>Threshold<i/> - If seven or more cards are in your graveyard, instead destroy that land and Rancid Earth deals 1 damage to each creature and each player"));
"Destroy target land.<br/><br/><i>Threshold<i/> - If seven or more cards are in your graveyard, instead destroy that land and Rancid Earth deals 1 damage to each creature and each player."));
this.getSpellAbility().addTarget(new TargetLandPermanent());
}
@ -91,10 +91,7 @@ class RancidEarthEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Effect effect1 = new DestroyTargetEffect("destroy that land");
if (effect1.apply(game, source)) {
return new DamageEverythingEffect(1).apply(game, source);
}
return false;
effect1.apply(game, source);
return new DamageEverythingEffect(1).apply(game, source);
}
}