mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
[ANA] - implemented Goblin Gang Leader
This commit is contained in:
parent
aeab7a6d8f
commit
7dfebc98f2
1 changed files with 39 additions and 0 deletions
39
Mage.Sets/src/mage/cards/g/GoblinGangLeader.java
Normal file
39
Mage.Sets/src/mage/cards/g/GoblinGangLeader.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.GoblinToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JayDi85
|
||||
*/
|
||||
public final class GoblinGangLeader extends CardImpl {
|
||||
|
||||
public GoblinGangLeader(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}{R}");
|
||||
this.subtype.add(SubType.GOBLIN, SubType.WARRIOR);
|
||||
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Goblin Gang Leader enters the battlefield, create two 1/1 red Goblin creature tokens.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new GoblinToken(), 2)));
|
||||
}
|
||||
|
||||
public GoblinGangLeader(final GoblinGangLeader card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GoblinGangLeader copy() {
|
||||
return new GoblinGangLeader(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue