Merge pull request #3949 from spjspj/master

Fix CrimsonHonorGuard (XLN)
This commit is contained in:
spjspj 2017-09-07 23:19:45 +10:00 committed by GitHub
commit 1d5de03c80

View file

@ -97,7 +97,7 @@ class CrimsonHonorGuardEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(game.getActivePlayerId());
if (player != null) {
int numCommanders = game.getBattlefield().getActivePermanents(filter, player.getId(), game).size();
int numCommanders = game.getBattlefield().getAllActivePermanents(filter, player.getId(), game).size();
if (numCommanders == 0) {
player.damage(4, source.getSourceId(), game, false, true);
return true;