卡牌优化

This commit is contained in:
hahwu 2025-06-17 11:35:11 +08:00
parent 6f36ee8920
commit f6838d7bb9
2 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@
"MySqlUsr": "root", "MySqlUsr": "root",
"MySqlPwd": "IOagNEq3C84c-20CmHEin5iODVc=", "MySqlPwd": "IOagNEq3C84c-20CmHEin5iODVc=",
"MaxConnNum": 20000, "MaxConnNum": 20000,
"DbName": "Merge_Pet", "DbName": "Merge_Pet_1",
"HttpPort": ":8081", "HttpPort": ":8081",
"AppPath": "./app", "AppPath": "./app",
"TELOGDIR" : "./teLog/", "TELOGDIR" : "./teLog/",

View File

@ -313,10 +313,10 @@ func (c *CardMod) AllCollectReward() ([]*item.Item, []*item.Item, error) {
if v == HANDBOOK_STATUS_GET { if v == HANDBOOK_STATUS_GET {
continue continue
} }
Round := cardCfg.GetRoundById(k) // Round := cardCfg.GetRoundById(k)
if Round < c.Round { // if Round < c.Round {
continue // continue
} // }
HandbookItemNum += cardCfg.GetStarById(k) HandbookItemNum += cardCfg.GetStarById(k)
} }
c.Round++ c.Round++