mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
[G18] added Angler Turtle
This commit is contained in:
parent
7188373246
commit
f2092f35ba
1 changed files with 49 additions and 0 deletions
49
Mage.Sets/src/mage/cards/a/AnglerTurtle.java
Normal file
49
Mage.Sets/src/mage/cards/a/AnglerTurtle.java
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
package mage.cards.a;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
|
import mage.abilities.effects.common.combat.AttacksIfAbleAllEffect;
|
||||||
|
import mage.abilities.keyword.HexproofAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.*;
|
||||||
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
|
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||||
|
import mage.watchers.common.AttackedThisTurnWatcher;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author JayDi85
|
||||||
|
*/
|
||||||
|
public final class AnglerTurtle extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creatures your opponents control");
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||||
|
}
|
||||||
|
|
||||||
|
public AnglerTurtle(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{U}{U}");
|
||||||
|
this.subtype.add(SubType.TURTLE);
|
||||||
|
this.power = new MageInt(5);
|
||||||
|
this.toughness = new MageInt(7);
|
||||||
|
|
||||||
|
// Hexproof
|
||||||
|
this.addAbility(HexproofAbility.getInstance());
|
||||||
|
|
||||||
|
// Creatures your opponents control attack each combat if able
|
||||||
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new AttacksIfAbleAllEffect(filter, Duration.WhileOnBattlefield)),
|
||||||
|
new AttackedThisTurnWatcher());
|
||||||
|
}
|
||||||
|
|
||||||
|
public AnglerTurtle(final AnglerTurtle card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AnglerTurtle copy() {
|
||||||
|
return new AnglerTurtle(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue