mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
* Minor fix to rebound ability. Some formatiing.
This commit is contained in:
parent
d8236a8d3a
commit
63eae70d63
4 changed files with 14 additions and 7 deletions
|
|
@ -103,7 +103,7 @@ class GroundSealEffect extends ReplacementEffectImpl<GroundSealEffect> {
|
|||
StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId());
|
||||
if (targetCard != null && stackObject != null) {
|
||||
Zone zone = game.getState().getZone(targetCard.getId());
|
||||
if (zone != null && (zone == Zone.GRAVEYARD)) {
|
||||
if (zone != null && zone.equals(Zone.GRAVEYARD)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
package mage.sets.riseoftheeldrazi;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Rarity;
|
||||
|
|
@ -52,7 +53,9 @@ public class DistortionStrike extends CardImpl<DistortionStrike> {
|
|||
// Target creature gets +1/+0 until end of turn and is unblockable this turn.
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(1, 0, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addEffect(new UnblockableTargetEffect());
|
||||
Effect effect = new UnblockableTargetEffect();
|
||||
effect.setText("and is unblockable this turn");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
// Rebound
|
||||
this.addAbility(new ReboundAbility());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue