1
This commit is contained in:
parent
c3d4fdc784
commit
dfa6ee5671
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user