magarena/release/Magarena/incomplete/Sidewinder_Sliver.java

26 lines
838 B
Java

package magic.card;
import magic.model.MagicAbility;
import magic.model.MagicGame;
import magic.model.MagicPermanent;
import magic.model.MagicPowerToughness;
import magic.model.mstatic.MagicLayer;
import magic.model.mstatic.MagicStatic;
import magic.model.target.MagicTargetFilter;
public class Sidewinder_Sliver {
public static final MagicStatic S1 = new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_SLIVER) {
@Override
public long getAbilityFlags(final MagicGame game,final MagicPermanent permanent,final long flags) {
return flags | MagicAbility.Flanking.getMask();
}
@Override
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return source != target;
}
};
}