宠物技能红点 补提
This commit is contained in:
parent
b93901f765
commit
1d99e5f794
|
@ -597,6 +597,7 @@ const (
|
|||
ItemIDSlippers = 100010 // 拖鞋
|
||||
ItemIDPermit = 100011 // 赛季通行证积分
|
||||
ItemIDLong = 50013 // 龙币
|
||||
ItemIDPetSkill = 11001 //宠物技能升级道具
|
||||
)
|
||||
|
||||
func ToItemId(id int32) int32 {
|
||||
|
|
|
@ -290,6 +290,10 @@ func (this *BagMgr) AddItems(p *Player, addItems []*Item, add int64, gainWay int
|
|||
Num: v.ItemNum,
|
||||
})
|
||||
}
|
||||
|
||||
if v.ItemId == common.ItemIDPetSkill && v.ItemNum > 0 {
|
||||
PetMgrSington.CheckShowRed(p)
|
||||
}
|
||||
}
|
||||
|
||||
if len(changeItems) > 0 {
|
||||
|
|
Loading…
Reference in New Issue