From 39aec462208fe508bba453e7128986237bb30a75 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 23 Feb 2024 20:41:31 -0600 Subject: [PATCH] bane mechanic for zerg measures --- src/engine/gameManager/ZergManager.java | 14 ++++++++++++++ src/engine/objects/City.java | 9 +++++++++ 2 files changed, 23 insertions(+) diff --git a/src/engine/gameManager/ZergManager.java b/src/engine/gameManager/ZergManager.java index 855b7962..7e21fb39 100644 --- a/src/engine/gameManager/ZergManager.java +++ b/src/engine/gameManager/ZergManager.java @@ -194,4 +194,18 @@ public class ZergManager { } return capSize; } + public static float getMultiplier30Man(int count){ + float multiplier = 1.0f; + + return multiplier; + } + public static float getMultiplier40Man(int count){ + float multiplier = 1.0f; + + return multiplier; + } + public static float getMultiplierUnlimited(int count){ + float multiplier = 1.0f; + return multiplier; + } } diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index 07ac2636..f3918c04 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -1450,6 +1450,15 @@ public class City extends AbstractWorldObject { case 20: player.ZergMultiplier = ZergManager.getMultiplier20Man(count); break; + case 30: + player.ZergMultiplier = ZergManager.getMultiplier30Man(count); + break; + case 40: + player.ZergMultiplier = ZergManager.getMultiplier40Man(count); + break; + case 9999999: + player.ZergMultiplier = ZergManager.getMultiplierUnlimited(count); + break; } } else{ player.ZergMultiplier = 1.0f; //something went wrong reset to default until next cycle