mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
[AKH] Fix for Supernatural Stamina
This commit is contained in:
parent
e93218946c
commit
fc794f74aa
1 changed files with 7 additions and 8 deletions
|
@ -28,10 +28,8 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.common.DiesTriggeredAbility;
|
||||
import mage.abilities.effects.common.ReturnToBattlefieldUnderYourControlSourceEffect;
|
||||
import mage.abilities.effects.common.ReturnSourceFromGraveyardToBattlefieldEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -51,13 +49,14 @@ public class SupernaturalStamina extends CardImpl {
|
|||
|
||||
// Until end of turn, target creature gets +2/+0 and gains "When this creature dies, return it to the battlefield tapped under its owner's control."
|
||||
getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
getSpellAbility().addEffect(
|
||||
new BoostTargetEffect(2, 0, Duration.EndOfTurn));
|
||||
getSpellAbility().addEffect(new BoostTargetEffect(2, 0, Duration.EndOfTurn));
|
||||
getSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
new DiesTriggeredAbility(
|
||||
new ReturnToBattlefieldUnderYourControlSourceEffect(),
|
||||
/*optional=*/false),
|
||||
Duration.EndOfTurn));
|
||||
new ReturnSourceFromGraveyardToBattlefieldEffect(true, true),
|
||||
false),
|
||||
Duration.EndOfTurn,
|
||||
"and gains \"When this creature dies, return it to the battlefield tapped under its owner's control.\""
|
||||
));
|
||||
}
|
||||
|
||||
public SupernaturalStamina(final SupernaturalStamina card) {
|
||||
|
|
Loading…
Reference in a new issue