mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[40K] Implemented Vexilus Praetor
This commit is contained in:
parent
3c9fb843c7
commit
c48c4ccf53
7 changed files with 115 additions and 94 deletions
|
|
@ -0,0 +1,36 @@
|
|||
package mage.abilities.keyword;
|
||||
|
||||
import mage.MageObject;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class ProtectionFromEverythingAbility extends ProtectionAbility {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("everything");
|
||||
|
||||
public ProtectionFromEverythingAbility() {
|
||||
super(filter);
|
||||
}
|
||||
|
||||
private ProtectionFromEverythingAbility(final ProtectionFromEverythingAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProtectionFromEverythingAbility copy() {
|
||||
return new ProtectionFromEverythingAbility(this);
|
||||
}
|
||||
|
||||
// 2/1/2009: "Protection from everything" means the following: Progenitus can't be blocked,
|
||||
// Progenitus can't be enchanted or equipped, Progenitus can't be the target of
|
||||
// spells or abilities, and all damage that would be dealt to Progenitus is prevented.
|
||||
// 2/1/2009: Progenitus can still be affected by effects that don't target it or deal damage
|
||||
// to it (such as Day of Judgment).
|
||||
@Override
|
||||
public boolean canTarget(MageObject source, Game game) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -114,6 +114,7 @@ public enum SubType {
|
|||
CRAB("Crab", SubTypeSet.CreatureType),
|
||||
CROCODILE("Crocodile", SubTypeSet.CreatureType),
|
||||
CROLUTE("Crolute", SubTypeSet.CreatureType, true), // Star Wars
|
||||
CUSTODES("Custodes", SubTypeSet.CreatureType),
|
||||
CYBORG("Cyborg", SubTypeSet.CreatureType, true), // Star Wars
|
||||
CYCLOPS("Cyclops", SubTypeSet.CreatureType),
|
||||
// D
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue