mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
changes requested by theelk801
This commit is contained in:
parent
f5b28c9609
commit
a6e675f253
1 changed files with 6 additions and 6 deletions
|
@ -43,15 +43,15 @@ public final class CrownOfAwe extends CardImpl {
|
|||
|
||||
// Enchant creature
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent();
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
this.addAbility(ability);
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
this.addAbility(ability);
|
||||
|
||||
// Enchanted Creature has protection from black and from red.
|
||||
ability = new SimpleStaticAbility(new GainAbilityAttachedEffect(ProtectionAbility.from(ObjectColor.BLACK, ObjectColor.RED),
|
||||
AttachmentType.AURA, Duration.WhileOnBattlefield));
|
||||
this.addAbility(ability);
|
||||
this.addAbility(ability);
|
||||
|
||||
// Sacrifice Crown of Awe: Enchanted creature and other creatures that share a creature type with it gain protection from black and from red until end of turn.
|
||||
ability = new SimpleActivatedAbility(new CrownOfAweEffect(), new SacrificeSourceCost());
|
||||
|
@ -85,7 +85,7 @@ class CrownOfAweEffect extends OneShotEffect {
|
|||
|
||||
public CrownOfAweEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "Sacrifice Crown of Awe: Enchanted creature and other creatures that share a creature type with it gain protection from black and from red until end of turn.";
|
||||
this.staticText = "Sacrifice {this}: Enchanted creature and other creatures that share a creature type with it gain protection from black and from red until end of turn.";
|
||||
}
|
||||
|
||||
public CrownOfAweEffect(final CrownOfAweEffect effect) {
|
||||
|
|
Loading…
Reference in a new issue