From 106dd87216831279197a0558a2bc007db0222e50 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 18 Feb 2024 20:25:11 -0600 Subject: [PATCH] zerg mechanic tweak --- src/engine/gameManager/ZergManager.java | 51 ++++++++++++++----------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/src/engine/gameManager/ZergManager.java b/src/engine/gameManager/ZergManager.java index caae2a9e..c1729d93 100644 --- a/src/engine/gameManager/ZergManager.java +++ b/src/engine/gameManager/ZergManager.java @@ -6,10 +6,10 @@ public class ZergManager { switch(count){ case 1: case 2: - multiplier += 0.8f; + multiplier += 0.0f; break; case 3: - multiplier += 0.5f; + multiplier += 0.55f; break; case 4: multiplier += 0.2f; @@ -21,13 +21,16 @@ public class ZergManager { multiplier -= 0.2f; break; case 7: - multiplier -= 0.4f; + multiplier -= 0.35f; break; case 8: - multiplier -= 0.6f; + multiplier -= 0.50f; + break; + case 9: + multiplier -= 0.750f; break; default: - multiplier -= 0.80f; + multiplier -= 1.0f; break; } return multiplier; @@ -35,27 +38,17 @@ public class ZergManager { public static float getMultiplier10Man(int count){ float multiplier = 1.0f; + if(count <=4) + return 0.0f; switch(count){ - case 1: - multiplier += 1.0f; - break; - case 2: - multiplier += 1.0f; - break; - case 3: - multiplier += 1.0f; - break; - case 4: - multiplier += 1.0f; - break; case 5: - multiplier += 0.8f; + multiplier += 0.5f; break; case 6: - multiplier += 0.55f; + multiplier += 0.4f; break; case 7: - multiplier += 0.35f; + multiplier += 0.3f; break; case 8: multiplier += 0.2f; @@ -73,14 +66,26 @@ public class ZergManager { multiplier -= 0.2f; break; case 13: - multiplier -= 0.35f; + multiplier -= 0.3f; break; case 14: - multiplier -= 0.55f; + multiplier -= 0.4f; break; - default: + case 15: + multiplier -= 0.5f; + break; + case 16: + multiplier -= 0.65f; + break; + case 17: multiplier -= 0.75f; break; + case 18: + multiplier -= 0.85f; + break; + default: + multiplier -= 1.0f; + break; } return multiplier; }