mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Progenitus - Fixed the not working protection ability.
This commit is contained in:
parent
832b585d89
commit
84926354bd
1 changed files with 5 additions and 3 deletions
|
@ -35,13 +35,14 @@ import mage.constants.Zone;
|
|||
import mage.MageInt;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.StaticAbility;
|
||||
import mage.abilities.common.PutIntoGraveFromAnywhereTriggeredAbility;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.keyword.ProtectionAbility;
|
||||
import mage.cards.Card;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.Cards;
|
||||
import mage.cards.CardsImpl;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
|
||||
|
@ -82,10 +83,10 @@ public class Progenitus extends CardImpl<Progenitus> {
|
|||
}
|
||||
}
|
||||
|
||||
class ProgenitusProtectionAbility extends StaticAbility<ProgenitusProtectionAbility> {
|
||||
class ProgenitusProtectionAbility extends ProtectionAbility {
|
||||
|
||||
public ProgenitusProtectionAbility() {
|
||||
super(Zone.BATTLEFIELD, null);
|
||||
super(new FilterCard("everything"));
|
||||
}
|
||||
|
||||
public ProgenitusProtectionAbility(final ProgenitusProtectionAbility ability) {
|
||||
|
@ -102,6 +103,7 @@ class ProgenitusProtectionAbility extends StaticAbility<ProgenitusProtectionAbil
|
|||
return "Protection from everything";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canTarget(MageObject source, Game game) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue