Missing comments

This commit is contained in:
Oleg Agafonov 2018-08-25 04:04:55 +04:00
parent 458c3deba3
commit 8b89896b4b
2 changed files with 14 additions and 7 deletions

View file

@ -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,7 +19,6 @@ import mage.cards.CardSetInfo;
import mage.constants.*;
/**
*
* @author Loki
*/
public final class Batterskull extends CardImpl {
@ -29,12 +29,15 @@ public final class Batterskull extends CardImpl {
// 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)));
}

View file

@ -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,7 +18,6 @@ import mage.constants.Zone;
import mage.filter.common.FilterCreatureCard;
/**
*
* @author North
*/
public final class Bonehoard extends CardImpl {
@ -26,10 +26,14 @@ public final class Bonehoard extends CardImpl {
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)));
}