mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
|
|
package mage.cards.m;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.SimpleActivatedAbility;
|
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
|
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
|
import mage.abilities.keyword.TrampleAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.constants.Duration;
|
|
import mage.constants.Zone;
|
|
|
|
/**
|
|
*
|
|
* @author Loki
|
|
*/
|
|
public final class MalachiteGolem extends CardImpl {
|
|
|
|
public MalachiteGolem(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{6}");
|
|
this.subtype.add(SubType.GOLEM);
|
|
this.power = new MageInt(5);
|
|
this.toughness = new MageInt(3);
|
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{1}{G}")));
|
|
}
|
|
|
|
private MalachiteGolem(final MalachiteGolem card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public MalachiteGolem copy() {
|
|
return new MalachiteGolem(this);
|
|
}
|
|
}
|