Avacyn's ability affects permanents you control, not just creatures

master
melvin 2012-08-27 13:13:54 +08:00
parent 6afb84e150
commit a1b1bdf6d2
1 changed files with 1 additions and 5 deletions

View File

@ -10,14 +10,10 @@ import magic.model.target.MagicTargetFilter;
public class Avacyn__Angel_of_Hope {
public static final MagicStatic S = new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL) {
MagicTargetFilter.TARGET_PERMANENT_YOU_CONTROL) {
@Override
public long getAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final long flags) {
return flags | MagicAbility.Indestructible.getMask();
}
// @Override
// public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
// return source != target;
// }
};
}