瀏覽代碼

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

KevinSmarts 6 年之前
父節點
當前提交
d1bd0ea41e
共有 1 個文件被更改,包括 3 次插入0 次删除
  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