diff --git a/Mage.Sets/src/mage/cards/w/WebShooters.java b/Mage.Sets/src/mage/cards/w/WebShooters.java new file mode 100644 index 00000000000..9f24ca79589 --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WebShooters.java @@ -0,0 +1,57 @@ +package mage.cards.w; + +import mage.abilities.Ability; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.TapTargetEffect; +import mage.abilities.effects.common.continuous.BoostEquippedEffect; +import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect; +import mage.abilities.keyword.EquipAbility; +import mage.abilities.keyword.ReachAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.AttachmentType; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * + * @author Jmlundeen + */ +public final class WebShooters extends CardImpl { + + public WebShooters(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}{W}"); + + this.subtype.add(SubType.EQUIPMENT); + + // Equipped creature gets +1/+1 and has reach and "Whenever this creature attacks, tap target creature an opponent controls." + Ability ability = new SimpleStaticAbility(new BoostEquippedEffect(1, 1)); + ability.addEffect(new GainAbilityAttachedEffect(ReachAbility.getInstance(), AttachmentType.EQUIPMENT) + .setText("has reach") + .concatBy("and") + ); + Ability gainedAbility = new AttacksTriggeredAbility(new TapTargetEffect()); + gainedAbility.addTarget(new TargetOpponentsCreaturePermanent()); + ability.addEffect(new GainAbilityAttachedEffect(gainedAbility, null) + .setText("\"Whenever this creature attacks, tap target creature an opponent controls.\"") + .concatBy("and") + ); + this.addAbility(ability); + + // Equip {2} + this.addAbility(new EquipAbility(2)); + } + + private WebShooters(final WebShooters card) { + super(card); + } + + @Override + public WebShooters copy() { + return new WebShooters(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java b/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java index 5ea5f5dd0f8..76b0f86afa3 100644 --- a/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java +++ b/Mage.Sets/src/mage/sets/MarvelsSpiderMan.java @@ -287,6 +287,7 @@ public final class MarvelsSpiderMan extends ExpansionSet { cards.add(new SetCardInfo("Web Up", 21, Rarity.COMMON, mage.cards.w.WebUp.class)); cards.add(new SetCardInfo("Web of Life and Destiny", 122, Rarity.MYTHIC, mage.cards.w.WebOfLifeAndDestiny.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Web of Life and Destiny", 268, Rarity.MYTHIC, mage.cards.w.WebOfLifeAndDestiny.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Web-Shooters", 22, Rarity.UNCOMMON, mage.cards.w.WebShooters.class)); cards.add(new SetCardInfo("Web-Warriors", 159, Rarity.UNCOMMON, mage.cards.w.WebWarriors.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Web-Warriors", 203, Rarity.UNCOMMON, mage.cards.w.WebWarriors.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Whoosh!", 48, Rarity.COMMON, mage.cards.w.Whoosh.class));