mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Mask of Avacyn - Fixed tooltip text.
This commit is contained in:
parent
c7b9cd5c9c
commit
b4e7403d82
1 changed files with 6 additions and 7 deletions
|
@ -27,18 +27,17 @@
|
|||
*/
|
||||
package mage.sets.innistrad;
|
||||
|
||||
import mage.constants.*;
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.constants.*;
|
||||
|
||||
/**
|
||||
* @author nantuko
|
||||
|
@ -54,8 +53,8 @@ public class MaskOfAvacyn extends CardImpl {
|
|||
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(3)));
|
||||
|
||||
// Equipped creature gets +1/+2 and has hexproof.
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(HexproofAbility.getInstance(), AttachmentType.EQUIPMENT));
|
||||
Effect effect = new BoostEquippedEffect(1, 2);
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(1, 2));
|
||||
Effect effect = new GainAbilityAttachedEffect(HexproofAbility.getInstance(), AttachmentType.EQUIPMENT);
|
||||
effect.setText("and has hexproof");
|
||||
ability.addEffect(effect);
|
||||
this.addAbility(ability);
|
||||
|
|
Loading…
Reference in a new issue