2013-05-18 20:12:38 -07:00
|
|
|
[
|
|
|
|
new MagicStatic(
|
2013-06-23 18:29:26 -07:00
|
|
|
MagicLayer.ModPT,
|
2013-05-18 20:12:38 -07:00
|
|
|
MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL
|
|
|
|
) {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2012-08-24 19:29:17 -07:00
|
|
|
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
|
2012-06-17 05:19:08 -07:00
|
|
|
pt.add(1,1);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
2013-06-23 18:29:26 -07:00
|
|
|
return target.hasSubType(MagicSubType.Skeleton) ||
|
2012-06-17 05:19:08 -07:00
|
|
|
(source != target && target.hasSubType(MagicSubType.Zombie));
|
|
|
|
}
|
2013-05-18 20:12:38 -07:00
|
|
|
},
|
|
|
|
new MagicStatic(
|
2013-06-23 18:29:26 -07:00
|
|
|
MagicLayer.Ability,
|
2013-05-18 20:12:38 -07:00
|
|
|
MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL
|
|
|
|
) {
|
2012-06-17 05:19:08 -07:00
|
|
|
@Override
|
2013-01-19 03:13:47 -08:00
|
|
|
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
|
|
|
|
flags.add(MagicAbility.Deathtouch);
|
2012-06-17 05:19:08 -07:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
2013-06-23 18:29:26 -07:00
|
|
|
return target.hasSubType(MagicSubType.Skeleton) ||
|
2012-06-17 05:19:08 -07:00
|
|
|
(source != target && target.hasSubType(MagicSubType.Zombie));
|
|
|
|
}
|
2013-05-18 20:12:38 -07:00
|
|
|
}
|
|
|
|
]
|