Browse Source

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

KevinSmarts 6 năm trước cách đây
mục cha
commit
d1bd0ea41e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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