mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
X marks the spot there a GL trigger should be fired
This commit is contained in:
@@ -907,7 +907,9 @@ public class GameAction {
|
|||||||
GameEndReason reason = null;
|
GameEndReason reason = null;
|
||||||
// award loses as SBE
|
// award loses as SBE
|
||||||
for (Player p : game.getPlayers() ) {
|
for (Player p : game.getPlayers() ) {
|
||||||
p.checkLoseCondition(); // this will set appropriate outcomes
|
if ( p.checkLoseCondition() ) { // this will set appropriate outcomes
|
||||||
|
// you may fire a trigger here
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Has anyone won by spelleffect?
|
// Has anyone won by spelleffect?
|
||||||
|
|||||||
Reference in New Issue
Block a user