This commit is contained in:
aozhiwei 2024-10-12 14:53:58 +08:00
parent 4547820c28
commit a66f1d9a02

View File

@ -598,6 +598,11 @@ func (this *player) CMChooseBattleItem(hdr *f5.MsgHdr, msg *cs.CMChooseBattleIte
q5.DuckToSimple(rspObj.ItemNum, &itemNum) q5.DuckToSimple(rspObj.ItemNum, &itemNum)
q5.DuckToSimple(rspObj.ItemType, &itemType) q5.DuckToSimple(rspObj.ItemType, &itemType)
q5.DuckToSimple(rspObj.ItemSubType, &itemSubType) q5.DuckToSimple(rspObj.ItemSubType, &itemSubType)
for _, p := range(this.battleItems) {
if p.itemType == itemType && p.itemSubType == itemSubType {
}
}
this.SendMsg(rspMsg) this.SendMsg(rspMsg)
this.GetTeam().SendUpdateNotify() this.GetTeam().SendUpdateNotify()
}) })