增加道具
This commit is contained in:
parent
e638f43619
commit
86ba780a40
|
|
@ -190,6 +190,9 @@ func (this *BagMgr) AddItems(p *Player, addItems []*Item, add int64, gainWay int
|
|||
continue
|
||||
}
|
||||
item := srvdata.GameItemMgr.Get(p.Platform, v.ItemId)
|
||||
if item == nil {
|
||||
continue
|
||||
}
|
||||
switch item.Type {
|
||||
case common.ItemTypeCoin:
|
||||
//增加金币
|
||||
|
|
|
|||
Loading…
Reference in New Issue