能量倍数修复

This commit is contained in:
hahwu 2025-01-22 11:06:43 +08:00
parent 8c5a8d78cf
commit 9e97c0c32b

View File

@ -41,7 +41,7 @@ func GetEnergyByMul(T int) float64 {
func GetMaxEnergyMul(Lv int, Energy int) int { func GetMaxEnergyMul(Lv int, Energy int) int {
Mul := 0 Mul := 0
for i := 0; i < 999; i++ { for i := 1; i < 999; i++ {
data, err := gamedata.GetDataByIntKey(ENERGY_CFG, i) data, err := gamedata.GetDataByIntKey(ENERGY_CFG, i)
if err != nil { if err != nil {
break break