* Cryptborn Horror - Fixed that it did not get the +1/+1 counters when entering the battlefield.

This commit is contained in:
LevelX2 2015-12-31 11:12:39 +01:00
parent 9f22eb0688
commit b0e8b03b74
3 changed files with 15 additions and 20 deletions

View file

@ -49,8 +49,8 @@ public class OpponentsLostLifeCount implements DynamicValue {
PlayerLostLifeWatcher watcher = (PlayerLostLifeWatcher) game.getState().getWatchers().get("PlayerLostLifeWatcher");
if (watcher != null) {
int amountLifeLost = 0;
for (UUID opponent : game.getOpponents(controllerId)) {
amountLifeLost += watcher.getLiveLost(opponent);
for (UUID opponentId : game.getOpponents(controllerId)) {
amountLifeLost += watcher.getLiveLost(opponentId);
}
return amountLifeLost;
}

View file

@ -25,7 +25,6 @@
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
package mage.watchers.common;
import java.util.HashMap;
@ -37,11 +36,9 @@ import mage.game.Game;
import mage.game.events.GameEvent;
import mage.watchers.Watcher;
/**
/*
* Counts amount of life lost current or last turn by players.
*
* This watcher is always added in gameImpl.init
*
* @author LevelX2
*/