add 累消活动账变类型
This commit is contained in:
parent
ee9878957a
commit
579c579118
|
@ -340,6 +340,7 @@ const (
|
||||||
GainWayNianGain_Attack_BigOther = 129 //年兽活动大爆竹攻击年兽获得额外奖励
|
GainWayNianGain_Attack_BigOther = 129 //年兽活动大爆竹攻击年兽获得额外奖励
|
||||||
GainWayNianGain_Attack_BigGuarantee = 130 //年兽活动大爆竹攻击年兽获得保底奖励
|
GainWayNianGain_Attack_BigGuarantee = 130 //年兽活动大爆竹攻击年兽获得保底奖励
|
||||||
GainWayNianGain_Attack_Coin = 131 //攻击年兽获得金币奖励
|
GainWayNianGain_Attack_Coin = 131 //攻击年兽获得金币奖励
|
||||||
|
GainWayConsume = 132 //累消活动获得
|
||||||
)
|
)
|
||||||
|
|
||||||
// 后台选择 金币变化类型 的充值 类型id号起始
|
// 后台选择 金币变化类型 的充值 类型id号起始
|
||||||
|
|
|
@ -402,6 +402,8 @@ func SendTaskReward(p *Player, m map[int64]int64, tp int32) {
|
||||||
case 6:
|
case 6:
|
||||||
gain = common.GainWayItemTaskPermit
|
gain = common.GainWayItemTaskPermit
|
||||||
giveType = model.SystemFreeGive_GiveType_TaskPermit
|
giveType = model.SystemFreeGive_GiveType_TaskPermit
|
||||||
|
case 10:
|
||||||
|
gain = common.GainWayConsume
|
||||||
}
|
}
|
||||||
BagMgrSingleton.AddItems(&model.AddItemParam{
|
BagMgrSingleton.AddItems(&model.AddItemParam{
|
||||||
Platform: p.Platform,
|
Platform: p.Platform,
|
||||||
|
|
Loading…
Reference in New Issue