no message
This commit is contained in:
parent
e224d2a4bd
commit
d5332ddb34
|
@ -2033,19 +2033,21 @@ func (this *Player) ResetPermit() {
|
||||||
// 清理数据
|
// 清理数据
|
||||||
bag := BagMgrSingleton.GetBagInfo(this.SnId)
|
bag := BagMgrSingleton.GetBagInfo(this.SnId)
|
||||||
if bag != nil {
|
if bag != nil {
|
||||||
BagMgrSingleton.AddItems(&model.AddItemParam{
|
if bag.BagItem[common.ItemIDPermit] != nil {
|
||||||
Platform: this.Platform,
|
BagMgrSingleton.AddItems(&model.AddItemParam{
|
||||||
SnId: this.SnId,
|
Platform: this.Platform,
|
||||||
Change: []*model.Item{
|
SnId: this.SnId,
|
||||||
{
|
Change: []*model.Item{
|
||||||
ItemId: common.ItemIDPermit,
|
{
|
||||||
ItemNum: -bag.BagItem[common.ItemIDPermit].ItemNum,
|
ItemId: common.ItemIDPermit,
|
||||||
|
ItemNum: -bag.BagItem[common.ItemIDPermit].ItemNum,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
GainWay: common.GainWayPermitReset,
|
||||||
GainWay: common.GainWayPermitReset,
|
Operator: "system",
|
||||||
Operator: "system",
|
Remark: "赛季积分清理",
|
||||||
Remark: "赛季积分清理",
|
})
|
||||||
})
|
}
|
||||||
|
|
||||||
if model.GameParamData.PermitInitScore > 0 {
|
if model.GameParamData.PermitInitScore > 0 {
|
||||||
bagInfo := BagMgrSingleton.GetBagInfo(this.SnId)
|
bagInfo := BagMgrSingleton.GetBagInfo(this.SnId)
|
||||||
|
|
Loading…
Reference in New Issue