added Winged Sliver
parent
0ed845138c
commit
6a181060e3
|
@ -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
|
|
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue