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:
parent
4219c4eeed
commit
0fbb341eac
1 changed files with 3 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue