mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
fix #14252 (Doc Ock's Tentacles)
This commit is contained in:
parent
ddee7d0f07
commit
427072cee2
1 changed files with 4 additions and 6 deletions
|
|
@ -7,10 +7,7 @@ import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
|||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.*;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.ManaValuePredicate;
|
||||
|
|
@ -35,8 +32,9 @@ public final class DocOcksTentacles extends CardImpl {
|
|||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// Whenever a creature you control with mana value 5 or greater enters, you may attach this Equipment to it.
|
||||
this.addAbility(new EntersBattlefieldAllTriggeredAbility(
|
||||
new AttachEffect(Outcome.BoostCreature, "attach {this} to it"), filter, true
|
||||
this.addAbility(new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD,
|
||||
new AttachEffect(Outcome.BoostCreature, "attach {this} to it"),
|
||||
filter, true, SetTargetPointer.PERMANENT
|
||||
));
|
||||
|
||||
// Equipped creature gets +4/+4.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue