mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
* Cryptborn Horror - Fixed that it did not get the +1/+1 counters when entering the battlefield.
This commit is contained in:
parent
9f22eb0688
commit
b0e8b03b74
3 changed files with 15 additions and 20 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue