配置重载命令

This commit is contained in:
UnKownOwO
2023-02-03 22:36:39 +08:00
parent 849fcdf93d
commit c790c5b66a
3 changed files with 30 additions and 22 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ func (g *GameManager) CostUserItem(userId uint32, itemList []*UserItem) {
if !ok {
continue
}
// 角色属性物品数量增加
// 角色属性物品数量减少
if player.PropertiesMap[prop] < userItem.ChangeCount {
player.PropertiesMap[prop] = 0
} else {