Browse Source

[fixes] stat file change for fat to energy conversion so that excess fat can restore low energy from Vaelon

KevinSmarts 6 years ago
parent
commit
d1bd0ea41e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      locations/stat.qsrc

+ 3 - 0
locations/stat.qsrc

@@ -510,6 +510,9 @@ if minut >= 60:
 	if pcs_energy > 100:
 		fat += (pcs_energy - 100) / 4
 		pcs_energy = 100
+	elseif pcs_energy <= (10 + vitalbuf / 25) and fat > (2 + vitalbuf / 25):
+		pcs_energy += 6
+		fat -= 2
 	end
 
 	if pcs_hydra > 200: pcs_hydra = 200