* Fixed a problem of Sanguine Praetor.

This commit is contained in:
LevelX2 2016-11-20 22:48:08 +01:00
parent 7daa476542
commit 612445d711

View file

@ -81,7 +81,7 @@ class SanguinePraetorEffect extends OneShotEffect {
public SanguinePraetorEffect() {
super(Outcome.Damage);
staticText = "Destroy each creature with the same converted mana cost as the sacrificed creature.";
staticText = "Destroy each creature with the same converted mana cost as the sacrificed creature";
}
public SanguinePraetorEffect(final SanguinePraetorEffect effect) {
@ -98,7 +98,7 @@ class SanguinePraetorEffect extends OneShotEffect {
}
}
for (Permanent permanent : game.getBattlefield().getAllActivePermanents(new FilterCreaturePermanent(), game)) {
for (Permanent permanent : game.getBattlefield().getActivePermanents(new FilterCreaturePermanent(), source.getControllerId(), game)) {
if (permanent.getConvertedManaCost() == cmc) {
permanent.destroy(source.getSourceId(), game, false);
}