Browse Source

zerg mechanic tweak

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
106dd87216
  1. 51
      src/engine/gameManager/ZergManager.java

51
src/engine/gameManager/ZergManager.java

@ -6,10 +6,10 @@ public class ZergManager {
switch(count){ switch(count){
case 1: case 1:
case 2: case 2:
multiplier += 0.8f; multiplier += 0.0f;
break; break;
case 3: case 3:
multiplier += 0.5f; multiplier += 0.55f;
break; break;
case 4: case 4:
multiplier += 0.2f; multiplier += 0.2f;
@ -21,13 +21,16 @@ public class ZergManager {
multiplier -= 0.2f; multiplier -= 0.2f;
break; break;
case 7: case 7:
multiplier -= 0.4f; multiplier -= 0.35f;
break; break;
case 8: case 8:
multiplier -= 0.6f; multiplier -= 0.50f;
break;
case 9:
multiplier -= 0.750f;
break; break;
default: default:
multiplier -= 0.80f; multiplier -= 1.0f;
break; break;
} }
return multiplier; return multiplier;
@ -35,27 +38,17 @@ public class ZergManager {
public static float getMultiplier10Man(int count){ public static float getMultiplier10Man(int count){
float multiplier = 1.0f; float multiplier = 1.0f;
if(count <=4)
return 0.0f;
switch(count){ 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: case 5:
multiplier += 0.8f; multiplier += 0.5f;
break; break;
case 6: case 6:
multiplier += 0.55f; multiplier += 0.4f;
break; break;
case 7: case 7:
multiplier += 0.35f; multiplier += 0.3f;
break; break;
case 8: case 8:
multiplier += 0.2f; multiplier += 0.2f;
@ -73,14 +66,26 @@ public class ZergManager {
multiplier -= 0.2f; multiplier -= 0.2f;
break; break;
case 13: case 13:
multiplier -= 0.35f; multiplier -= 0.3f;
break; break;
case 14: case 14:
multiplier -= 0.55f; multiplier -= 0.4f;
break; break;
default: case 15:
multiplier -= 0.5f;
break;
case 16:
multiplier -= 0.65f;
break;
case 17:
multiplier -= 0.75f; multiplier -= 0.75f;
break; break;
case 18:
multiplier -= 0.85f;
break;
default:
multiplier -= 1.0f;
break;
} }
return multiplier; return multiplier;
} }

Loading…
Cancel
Save