mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Fixed a problem of Sanguine Praetor.
This commit is contained in:
parent
7daa476542
commit
612445d711
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ class SanguinePraetorEffect extends OneShotEffect {
|
||||||
|
|
||||||
public SanguinePraetorEffect() {
|
public SanguinePraetorEffect() {
|
||||||
super(Outcome.Damage);
|
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) {
|
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) {
|
if (permanent.getConvertedManaCost() == cmc) {
|
||||||
permanent.destroy(source.getSourceId(), game, false);
|
permanent.destroy(source.getSourceId(), game, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue