1
0
Quellcode durchsuchen

[fchange] Change the running formula for the school runs to be the same as the city gym run changed yesterday.

bgkjdgbizgblzdgbr vor 2 Jahren
Ursprung
Commit
fe17b35ed2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      locations/gschool_grounds.qsrc

+ 2 - 2
locations/gschool_grounds.qsrc

@@ -514,8 +514,8 @@ if $ARGS[0] = 'SchoolRun':
 		begminus = 0
 		if pcs_bmi > 25:
 			begminus = ((pcs_bmi - 25)*4)
-		elseif pcs_bmi < 18:
-			begminus = ((25 - pcs_bmi)*6)
+		elseif pcs_bmi < 20:
+			begminus = ((20 - pcs_bmi)*(20-pcs_bmi))
 		end
 		begresult = pcs_run - begminus