1
This commit is contained in:
parent
c3d4fdc784
commit
dfa6ee5671
@ -5,6 +5,7 @@ import (
|
|||||||
"main/vo"
|
"main/vo"
|
||||||
"main/model"
|
"main/model"
|
||||||
"main/mt"
|
"main/mt"
|
||||||
|
"main/constant"
|
||||||
)
|
)
|
||||||
|
|
||||||
type award struct {
|
type award struct {
|
||||||
@ -21,6 +22,9 @@ func (this *award) AddItem(accountId string, itemId int32, itemNum int32, baseVo
|
|||||||
if itemMeta == nil {
|
if itemMeta == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if itemMeta.GetItemType() == constant.ITEM_TYPE_SPEC_DICE {
|
||||||
|
return
|
||||||
|
}
|
||||||
nowTime := int32(f5.GetApp().GetRealSeconds())
|
nowTime := int32(f5.GetApp().GetRealSeconds())
|
||||||
bagItem := new(model.Bag)
|
bagItem := new(model.Bag)
|
||||||
if err, found := bagItem.Find(accountId, itemId); err == nil {
|
if err, found := bagItem.Find(accountId, itemId); err == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user