能量倍数修复
This commit is contained in:
parent
8c5a8d78cf
commit
9e97c0c32b
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user