mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
fix error
This commit is contained in:
parent
51b7f93466
commit
29269384bf
1 changed files with 11 additions and 5 deletions
|
|
@ -1,7 +1,5 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.ActivateAsSorceryActivatedAbility;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
|
|
@ -13,10 +11,12 @@ import mage.cards.CardImpl;
|
|||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.ReliquaryDragonToken;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DragonbroodsRelic extends CardImpl {
|
||||
|
|
@ -25,10 +25,16 @@ public final class DragonbroodsRelic extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}{G}");
|
||||
|
||||
// {T}, Tap an untapped creature you control: Add one mana of any color.
|
||||
Ability ability=new AnyColorManaAbility();ability.addCost(new TapTargetCost(new TargetControlledPermanent(StaticFilters.FILTER_CONTROLLED_UNTAPPED_CREATURE)));this.addAbility(ability);
|
||||
Ability ability = new AnyColorManaAbility();
|
||||
ability.addCost(new TapTargetCost(new TargetControlledPermanent(StaticFilters.FILTER_CONTROLLED_UNTAPPED_CREATURE)));
|
||||
this.addAbility(ability);
|
||||
|
||||
// {3}{W}{U}{B}{R}{G}, Sacrifice this artifact: Create a 4/4 Dragon creature token named Reliquary Dragon that's all colors. It has flying, lifelink, and "When this token enters, it deals 3 damage to any target." Activate only as a sorcery.
|
||||
ability=new ActivateAsSorceryActivatedAbility(new CreateTokenEffect(),new ManaCostsImpl<>("{3}{W}{U}{B}{R}{G}"));ability.addCost(new SacrificeSourceCost());this.addAbility(ability);
|
||||
ability = new ActivateAsSorceryActivatedAbility(
|
||||
new CreateTokenEffect(new ReliquaryDragonToken()), new ManaCostsImpl<>("{3}{W}{U}{B}{R}{G}")
|
||||
);
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private DragonbroodsRelic(final DragonbroodsRelic card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue