mirror of
https://github.com/correl/mage.git
synced 2025-04-02 03:18:09 -09:00
- Fixed text Feedback.
This commit is contained in:
parent
3abe5e796a
commit
202e25208e
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.cards.f;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -24,7 +23,7 @@ import mage.target.common.TargetEnchantmentPermanent;
|
|||
public final class Feedback extends CardImpl {
|
||||
|
||||
public Feedback(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{U}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{U}");
|
||||
this.subtype.add(SubType.AURA);
|
||||
|
||||
// Enchant enchantment
|
||||
|
@ -32,11 +31,13 @@ public final class Feedback extends CardImpl {
|
|||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
|
||||
this.addAbility(new EnchantAbility(auraTarget.getTargetName()));
|
||||
|
||||
// At the beginning of the upkeep of enchanted enchantment's controller, Feedback deals 1 damage to that player.
|
||||
Effect effect = new DamageTargetEffect(1);
|
||||
effect.setText("{this} deals 1 damage to that player");
|
||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, effect,
|
||||
TargetController.CONTROLLER_ATTACHED_TO, false, true));
|
||||
TargetController.CONTROLLER_ATTACHED_TO, false, true,
|
||||
"At the beginning of the upkeep of enchanted enchantment's controller, "));
|
||||
}
|
||||
|
||||
public Feedback(final Feedback card) {
|
||||
|
|
Loading…
Add table
Reference in a new issue