mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
* Escape abilities - fixed missing game log about cast with Escape;
This commit is contained in:
parent
e3192a7361
commit
f237c4f388
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@ import mage.util.CardUtil;
|
||||||
*/
|
*/
|
||||||
public class EscapeAbility extends SpellAbility {
|
public class EscapeAbility extends SpellAbility {
|
||||||
|
|
||||||
private static final FilterCard filter = new FilterCard();
|
private static final FilterCard filter = new FilterCard("card to exile");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(AnotherPredicate.instance);
|
filter.add(AnotherPredicate.instance);
|
||||||
|
@ -28,8 +28,10 @@ public class EscapeAbility extends SpellAbility {
|
||||||
public EscapeAbility(Card card, String manaCost, int exileCount) {
|
public EscapeAbility(Card card, String manaCost, int exileCount) {
|
||||||
super(card.getSpellAbility());
|
super(card.getSpellAbility());
|
||||||
this.newId();
|
this.newId();
|
||||||
|
this.setCardName(card.getName() + " with Escape");
|
||||||
this.zone = Zone.GRAVEYARD;
|
this.zone = Zone.GRAVEYARD;
|
||||||
this.spellAbilityType = SpellAbilityType.BASE_ALTERNATE;
|
this.spellAbilityType = SpellAbilityType.BASE_ALTERNATE;
|
||||||
|
|
||||||
this.manaCost = manaCost;
|
this.manaCost = manaCost;
|
||||||
this.exileCount = exileCount;
|
this.exileCount = exileCount;
|
||||||
this.getManaCosts().clear();
|
this.getManaCosts().clear();
|
||||||
|
|
Loading…
Reference in a new issue