forked from External/mage
42 lines
1.2 KiB
Java
42 lines
1.2 KiB
Java
package mage.cards.w;
|
|
|
|
import mage.MageInt;
|
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
|
import mage.abilities.effects.common.counter.AddCountersAllEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.counters.CounterType;
|
|
import mage.filter.StaticFilters;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* @author TheElk801
|
|
*/
|
|
public final class WebWarriors extends CardImpl {
|
|
|
|
public WebWarriors(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G/W}");
|
|
|
|
this.subtype.add(SubType.SPIDER);
|
|
this.subtype.add(SubType.HERO);
|
|
this.power = new MageInt(4);
|
|
this.toughness = new MageInt(3);
|
|
|
|
// When this creature enters, put a +1/+1 counter on each other creature you control.
|
|
this.addAbility(new EntersBattlefieldTriggeredAbility(new AddCountersAllEffect(
|
|
CounterType.P1P1.createInstance(), StaticFilters.FILTER_OTHER_CONTROLLED_CREATURE
|
|
)));
|
|
}
|
|
|
|
private WebWarriors(final WebWarriors card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public WebWarriors copy() {
|
|
return new WebWarriors(this);
|
|
}
|
|
}
|