added Winged Sliver

master
a. benedict balbuena 2012-10-30 22:43:01 +08:00
parent 0ed845138c
commit 6a181060e3
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
name=Winged Sliver
url=http://magiccards.info/pds/en/4.html
image=http://magiccards.info/scans/en/pds/4.jpg
value=3
rarity=C
type=Creature
subtype=Sliver
cost={1}{U}
pt=1/1
static=all
timing=main
requires_card_code

View File

@ -0,0 +1,20 @@
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 Winged_Sliver {
public static final MagicStatic S = new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_SLIVER) {
@Override
public long getAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final long flags) {
return flags | MagicAbility.Flying.getMask();
}
};
}