mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
- Fixed #6103
This commit is contained in:
parent
dd306a57b9
commit
9d545d852a
1 changed files with 6 additions and 3 deletions
|
@ -14,8 +14,8 @@ import mage.constants.SubType;
|
|||
import mage.game.permanent.token.custom.CreatureToken;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
|
@ -35,11 +35,14 @@ public final class Frogify extends CardImpl {
|
|||
this.addAbility(ability);
|
||||
|
||||
// Enchanted creature loses all abilities and is a blue Frog creature with base power and toughness 1/1.
|
||||
this.addAbility(new SimpleStaticAbility(new BecomesCreatureAttachedEffect(
|
||||
Effect effect = new BecomesCreatureAttachedEffect(
|
||||
new CreatureToken(1, 1, "", SubType.FROG).withColor("U"),
|
||||
"Enchanted creature loses all abilities and is a blue Frog creature with base power and toughness 1/1",
|
||||
Duration.WhileOnBattlefield, BecomesCreatureAttachedEffect.LoseType.ALL
|
||||
)));
|
||||
);
|
||||
effect.setOutcome(Outcome.Detriment);
|
||||
this.addAbility(new SimpleStaticAbility(effect));
|
||||
|
||||
}
|
||||
|
||||
private Frogify(final Frogify card) {
|
||||
|
|
Loading…
Reference in a new issue