Browse Source

zerg mechanic tweak

lakebane-master
FatBoy-DOTC 10 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 { @@ -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 { @@ -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 { @@ -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 { @@ -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;
}

Loading…
Cancel
Save