mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
[CLB] Implemented Sarevok, Deathbringer
This commit is contained in:
parent
9ffc8ed11a
commit
50ddb27f5d
3 changed files with 79 additions and 1 deletions
|
|
@ -4,7 +4,6 @@ import mage.constants.WatcherScope;
|
|||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.game.events.GameEvent.EventType;
|
||||
import mage.game.events.ZoneChangeEvent;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.watchers.Watcher;
|
||||
|
|
@ -41,6 +40,14 @@ public class RevoltWatcher extends Watcher {
|
|||
return revoltActivePlayerIds.contains(playerId);
|
||||
}
|
||||
|
||||
public static boolean checkAny(Game game) {
|
||||
return !game
|
||||
.getState()
|
||||
.getWatcher(RevoltWatcher.class)
|
||||
.revoltActivePlayerIds
|
||||
.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
super.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue