mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fixed "precombat main phase" triggers
This commit is contained in:
@@ -235,6 +235,12 @@ public abstract class Trigger extends TriggerReplacementBase {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.mapParams.containsKey("PreCombatMain")) {
|
||||
if (!phaseHandler.isPreCombatMain()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.mapParams.containsKey("PlayerTurn")) {
|
||||
if (!phaseHandler.isPlayerTurn(this.getHostCard().getController())) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user