java for Mass Hysteria
parent
8d19581f57
commit
58b549d8fa
|
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue