mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
- Text fix
This commit is contained in:
parent
2e7d01965e
commit
fed6ddff8e
1 changed files with 16 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.cards.m;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -9,6 +8,7 @@ import mage.abilities.common.SimpleStaticAbility;
|
|||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -35,11 +35,22 @@ public final class MagmaSliver extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// All Slivers have "{tap}: Target Sliver creature gets +X/+0 until end of turn, where X is the number of Slivers on the battlefield."
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(new PermanentsOnBattlefieldCount(StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS), StaticValue.get(0), Duration.EndOfTurn, true), new TapSourceCost());
|
||||
Target target = new TargetCreaturePermanent(new FilterCreaturePermanent(SubType.SLIVER, "Sliver creature"));
|
||||
// All Slivers have "{tap}: Target Sliver creature gets +X/+0 until end of turn,
|
||||
// where X is the number of Slivers on the battlefield."
|
||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new BoostTargetEffect(new PermanentsOnBattlefieldCount(
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS),
|
||||
StaticValue.get(0), Duration.EndOfTurn, true),
|
||||
new TapSourceCost());
|
||||
Target target = new TargetCreaturePermanent(
|
||||
new FilterCreaturePermanent(SubType.SLIVER, "Sliver creature"));
|
||||
ability.addTarget(target);
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(ability, Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS)));
|
||||
Effect effect = new GainAbilityAllEffect(ability, Duration.WhileOnBattlefield,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS);
|
||||
effect.setText("All Slivers have \"{T}: Target Sliver creature gets +X/+0 until end of turn,"
|
||||
+ "where X is the number of Slivers on the battlefield.\"");
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
effect));
|
||||
}
|
||||
|
||||
public MagmaSliver(final MagmaSliver card) {
|
||||
|
|
Loading…
Reference in a new issue