This commit is contained in:
cdle 2021-08-18 16:35:36 +08:00
parent 0d03904aee
commit b76c98a06b

View File

@ -409,7 +409,7 @@ func initFarm(cookie string, state chan string) {
if a.TreeState == 2 || a.TreeState == 3 {
rt += "已可领取⏰"
} else if a.TreeState == 1 {
rt += fmt.Sprintf("种植中,进度%.2f%%🍒", 100*float64(a.FarmUserPro.TreeEnergy/float64(a.FarmUserPro.TreeTotalEnergy))
rt += fmt.Sprintf("种植中,进度%.2f%%🍒", 100*float64(a.FarmUserPro.TreeEnergy)/float64(a.FarmUserPro.TreeTotalEnergy))
} else if a.TreeState == 0 {
rt = "您忘了种植新的水果⏰"
}