Browse Source

Fix bossrush shootrate, refresh_time and poweruprate settings

These should be the ones that the version in LCM uses, according to gdb.
Enrico Guiraud 4 years ago
parent
commit
39f01de6c6
1 changed files with 10 additions and 10 deletions
  1. 10 10
      functions.cpp

+ 10 - 10
functions.cpp

@@ -1445,28 +1445,28 @@ void setup_level_bossrush(int level, double& shootr, double& poweruprate, int& w
 	{
 		case 1:
 		{
-			shootr = 0.006;
-			refresh_t = (int)(0.09*1E3);
-			poweruprate = 0.066;
+			shootr = 0.02;
+			refresh_t = (int)(0.07*1E3);
+			poweruprate = 0.04;
 			break;
 		}
 		case 2:
 		{
-			shootr = 0.009;
-			refresh_t = (int)(0.085*1E3);
-			poweruprate = 0.05;
+			shootr = 0.02;
+			refresh_t = (int)(0.07*1E3);
+			poweruprate = 0.04;
 			break;
 		}
 		case 3:
 		{
-			shootr = 0.015;
-			refresh_t = (int)(0.08*1E3);
-			poweruprate = 0.044;
+			shootr = 0.02;
+			refresh_t = (int)(0.07*1E3);
+			poweruprate = 0.04;
 			break;
 		}
 		case 4:
 		{
-			shootr = 0.020;
+			shootr = 0.02;
 			refresh_t = (int)(0.07*1E3);
 			poweruprate = 0.04;
 			break;