mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Refactor: Changed strange nested ManaCostImpl for Keldon Necropolis
This commit is contained in:
parent
45a790790e
commit
d09ec3d67c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public final class KeldonNecropolis extends CardImpl {
|
|||
// {tap}: Add {C}.
|
||||
this.addAbility(new ColorlessManaAbility());
|
||||
// {4}{R}, {T}, Sacrifice a creature: Keldon Necropolis deals 2 damage to any target.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl<>(new ManaCostsImpl<>("{4}{R}")));
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl<>("{4}{R}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(FILTER_CONTROLLED_CREATURE_SHORT_TEXT)));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
Loading…
Reference in a new issue