java for Mass Hysteria

master
mileva@gmail.com 2012-10-27 03:54:32 +00:00
parent 8d19581f57
commit 58b549d8fa
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package magic.card;
import magic.model.MagicGame;
import magic.model.MagicPermanent;
import magic.model.mstatic.MagicLayer;
import magic.model.MagicAbility;
import magic.model.mstatic.MagicStatic;
import magic.model.target.MagicTargetFilter;
public class Mass_Hysteria {
public static final MagicStatic S = new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_CREATURE) {
@Override
public long getAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final long flags) {
return flags | MagicAbility.Haste.getMask();
}
};
}