Reimplemented Indestructable using a replacement effect

This commit is contained in:
North 2012-09-04 23:59:05 +03:00
parent bbe7630558
commit 204d2410a1
49 changed files with 138 additions and 84 deletions

View file

@ -62,7 +62,7 @@ public class Indestructibility extends CardImpl<Indestructibility> {
Ability ability = new EnchantAbility(auraTarget.getTargetName());
this.addAbility(ability);
// Enchanted permanent is indestructible.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(IndestructibleAbility.getInstance(), AttachmentType.AURA)));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(new IndestructibleAbility(), AttachmentType.AURA)));
}
public Indestructibility(final Indestructibility card) {