This commit is contained in:
Jeff Wadsworth 2022-01-05 15:02:02 -06:00
parent d3f0eb1231
commit 76a61b0bef

View file

@ -133,8 +133,10 @@ class BellBorcaSpectralSergeantWatcher extends Watcher {
return;
}
int cmc = card.getManaValue();
for (Permanent permanent : game.getBattlefield().getActivePermanents(filter, game.getActivePlayerId(), game)) {
if (permanent == null) {
for (Permanent permanent : game.getBattlefield().getAllActivePermanents(filter, game)) {
if (permanent == null
|| cmcMap.get(permanent.getId()) != null
&& cmcMap.get(permanent.getId()) >= cmc) {
continue;
}
cmcMap.put(permanent.getId(), cmc);