mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Missing comments
This commit is contained in:
parent
458c3deba3
commit
8b89896b4b
2 changed files with 14 additions and 7 deletions
|
@ -3,6 +3,7 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
|
@ -18,28 +19,30 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Loki
|
||||
*/
|
||||
public final class Batterskull extends CardImpl {
|
||||
|
||||
public Batterskull (UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{5}");
|
||||
public Batterskull(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{5}");
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// Living weapon (When this Equipment enters the battlefield, create a 0/0 black Germ creature token, then attach this to it.)
|
||||
this.addAbility(new LivingWeaponAbility());
|
||||
|
||||
// Equipped creature gets +4/+4 and has vigilance and lifelink.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(4, 4)));
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(VigilanceAbility.getInstance(), AttachmentType.EQUIPMENT)));
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(LifelinkAbility.getInstance(), AttachmentType.EQUIPMENT)));
|
||||
|
||||
// {3}: Return Batterskull to its owner's hand.
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(true), new GenericManaCost(3)));
|
||||
|
||||
// Equip {5}
|
||||
this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(5)));
|
||||
}
|
||||
|
||||
public Batterskull (final Batterskull card) {
|
||||
public Batterskull(final Batterskull card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.dynamicvalue.common.CardsInAllGraveyardsCount;
|
||||
|
@ -17,19 +18,22 @@ import mage.constants.Zone;
|
|||
import mage.filter.common.FilterCreatureCard;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public final class Bonehoard extends CardImpl {
|
||||
|
||||
public Bonehoard(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{4}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
|
||||
// Living weapon (When this Equipment enters the battlefield, create a 0/0 black Germ creature token, then attach this to it.)
|
||||
this.addAbility(new LivingWeaponAbility());
|
||||
|
||||
// Equipped creature gets +X/+X, where X is the number of creature cards in all graveyards.
|
||||
CardsInAllGraveyardsCount value = new CardsInAllGraveyardsCount(new FilterCreatureCard());
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(value, value)));
|
||||
|
||||
// Equip {2}
|
||||
this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(2)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue