This commit is contained in:
aozhiwei 2024-11-20 16:48:52 +08:00
parent c3d4fdc784
commit dfa6ee5671

View File

@ -5,6 +5,7 @@ import (
"main/vo"
"main/model"
"main/mt"
"main/constant"
)
type award struct {
@ -21,6 +22,9 @@ func (this *award) AddItem(accountId string, itemId int32, itemNum int32, baseVo
if itemMeta == nil {
return
}
if itemMeta.GetItemType() == constant.ITEM_TYPE_SPEC_DICE {
return
}
nowTime := int32(f5.GetApp().GetRealSeconds())
bagItem := new(model.Bag)
if err, found := bagItem.Find(accountId, itemId); err == nil {