diff --git a/pom.xml b/pom.xml
index b0d536f..ecf372d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,13 +10,13 @@
UTF-8
17
- 0.91.0
+ 0.92.0
org.springframework.boot
spring-boot-starter-parent
- 3.2.2
+ 3.2.3
diff --git a/src/main/java/de/champonthis/ghs/server/model/GameAttackModifierDeckModel.java b/src/main/java/de/champonthis/ghs/server/model/GameAttackModifierDeckModel.java
index 5482f65..d763eb1 100644
--- a/src/main/java/de/champonthis/ghs/server/model/GameAttackModifierDeckModel.java
+++ b/src/main/java/de/champonthis/ghs/server/model/GameAttackModifierDeckModel.java
@@ -20,6 +20,7 @@ public class GameAttackModifierDeckModel {
private LinkedList disgarded = new LinkedList<>();
@Required
private boolean active = true;
+ private String state;
/**
* Gets the current.
@@ -93,4 +94,22 @@ public void setActive(boolean active) {
this.active = active;
}
+ /**
+ * Gets the state.
+ *
+ * @return the state
+ */
+ public String getState() {
+ return state;
+ }
+
+ /**
+ * Sets the state.
+ *
+ * @param state the new state
+ */
+ public void setState(String state) {
+ this.state = state;
+ }
+
}
diff --git a/src/main/java/de/champonthis/ghs/server/model/Settings.java b/src/main/java/de/champonthis/ghs/server/model/Settings.java
index 38db7a5..6c6ee45 100644
--- a/src/main/java/de/champonthis/ghs/server/model/Settings.java
+++ b/src/main/java/de/champonthis/ghs/server/model/Settings.java
@@ -35,6 +35,8 @@ public class Settings {
@Required
private boolean alwaysAllyAttackModifierDeck = false;
@Required
+ private boolean alwaysFhAdvantage = false;
+ @Required
private boolean alwaysFhSolo = false;
@Required
private boolean alwaysHazardousTerrain = false;
@@ -43,6 +45,8 @@ public class Settings {
@Required
private boolean alwaysLootDeck = false;
@Required
+ private boolean amAdvantage = false;
+ @Required
private boolean applyBuildingRewards = true;
@Required
private boolean applyConditions = true;
@@ -362,6 +366,24 @@ public void setAlwaysAllyAttackModifierDeck(boolean alwaysAllyAttackModifierDeck
this.alwaysAllyAttackModifierDeck = alwaysAllyAttackModifierDeck;
}
+ /**
+ * Checks if is always fh advantage.
+ *
+ * @return true, if is always fh advantage
+ */
+ public boolean isAlwaysFhAdvantage() {
+ return alwaysFhAdvantage;
+ }
+
+ /**
+ * Sets the always fh advantage.
+ *
+ * @param alwaysFhAdvantage the new always fh advantage
+ */
+ public void setAlwaysFhAdvantage(boolean alwaysFhAdvantage) {
+ this.alwaysFhAdvantage = alwaysFhAdvantage;
+ }
+
/**
* Checks if is always fh solo.
*
@@ -434,6 +456,24 @@ public void setAlwaysLootDeck(boolean alwaysLootDeck) {
this.alwaysLootDeck = alwaysLootDeck;
}
+ /**
+ * Checks if is am advantage.
+ *
+ * @return true, if is am advantage
+ */
+ public boolean isAmAdvantage() {
+ return amAdvantage;
+ }
+
+ /**
+ * Sets the am advantage.
+ *
+ * @param alwaysFhAdvantage the new am advantage
+ */
+ public void setAmAdvantage(boolean amAdvantage) {
+ this.amAdvantage = amAdvantage;
+ }
+
/**
* Checks if is apply building rewards.
*