mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
fixed Gravebreaker Lamia text
This commit is contained in:
parent
0db5bf6bc5
commit
330c6d8062
1 changed files with 10 additions and 6 deletions
|
@ -1,6 +1,5 @@
|
||||||
package mage.cards.g;
|
package mage.cards.g;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||||
|
@ -20,12 +19,19 @@ import mage.game.Game;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
import mage.target.common.TargetCardInLibrary;
|
import mage.target.common.TargetCardInLibrary;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author LevelX2
|
* @author LevelX2
|
||||||
*/
|
*/
|
||||||
public final class GravebreakerLamia extends CardImpl {
|
public final class GravebreakerLamia extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterCard filter = new FilterCard();
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.add(new CastFromZonePredicate(Zone.GRAVEYARD));
|
||||||
|
}
|
||||||
|
|
||||||
public GravebreakerLamia(UUID ownerId, CardSetInfo setInfo) {
|
public GravebreakerLamia(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{4}{B}");
|
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{4}{B}");
|
||||||
|
|
||||||
|
@ -42,9 +48,8 @@ public final class GravebreakerLamia extends CardImpl {
|
||||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new GravebreakerLamiaSearchEffect(), false));
|
this.addAbility(new EntersBattlefieldTriggeredAbility(new GravebreakerLamiaSearchEffect(), false));
|
||||||
|
|
||||||
// Spells you cast from your graveyard cost {1} less to cast.
|
// Spells you cast from your graveyard cost {1} less to cast.
|
||||||
FilterCard filter = new FilterCard("Spells you cast from your graveyard");
|
this.addAbility(new SimpleStaticAbility(new SpellsCostReductionControllerEffect(filter, 1)
|
||||||
filter.add(new CastFromZonePredicate(Zone.GRAVEYARD));
|
.setText("Spells you cast from your graveyard cost {1} less to cast.")));
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SpellsCostReductionControllerEffect(filter, 1)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private GravebreakerLamia(final GravebreakerLamia card) {
|
private GravebreakerLamia(final GravebreakerLamia card) {
|
||||||
|
@ -85,5 +90,4 @@ class GravebreakerLamiaSearchEffect extends SearchEffect {
|
||||||
controller.shuffleLibrary(source, game);
|
controller.shuffleLibrary(source, game);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue