mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
[MKM] fix Barbed Servitor and Neighborhood Guardian
This commit is contained in:
parent
5d0cf68ad9
commit
322c49e37f
2 changed files with 3 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ public final class BarbedServitor extends CardImpl {
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
||||||
// Whenever Barbed Servitor is dealt damage, target opponent loses that much life.
|
// Whenever Barbed Servitor is dealt damage, target opponent loses that much life.
|
||||||
ability = new DealtDamageToSourceTriggeredAbility(new LoseLifeTargetEffect(SavedDamageValue.MUCH), true);
|
ability = new DealtDamageToSourceTriggeredAbility(new LoseLifeTargetEffect(SavedDamageValue.MUCH), false);
|
||||||
ability.addTarget(new TargetOpponent());
|
ability.addTarget(new TargetOpponent());
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import mage.constants.ComparisonType;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
import mage.filter.FilterPermanent;
|
import mage.filter.FilterPermanent;
|
||||||
import mage.filter.common.FilterCreaturePermanent;
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
|
import mage.filter.predicate.mageobject.AnotherPredicate;
|
||||||
import mage.filter.predicate.mageobject.PowerPredicate;
|
import mage.filter.predicate.mageobject.PowerPredicate;
|
||||||
import mage.target.common.TargetControlledCreaturePermanent;
|
import mage.target.common.TargetControlledCreaturePermanent;
|
||||||
|
|
||||||
|
|
@ -24,6 +25,7 @@ public final class NeighborhoodGuardian extends CardImpl {
|
||||||
private static final FilterPermanent filter = new FilterCreaturePermanent("another creature with power 2 or less");
|
private static final FilterPermanent filter = new FilterCreaturePermanent("another creature with power 2 or less");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
filter.add(AnotherPredicate.instance);
|
||||||
filter.add(new PowerPredicate(ComparisonType.FEWER_THAN, 3));
|
filter.add(new PowerPredicate(ComparisonType.FEWER_THAN, 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue