Compare commits

...

2 Commits

Author SHA1 Message Date
sk ace83f2359 fix 推币机震动 2025-01-18 17:42:21 +08:00
sk 2a139f2515 no message 2025-01-18 17:03:42 +08:00
7 changed files with 5 additions and 47 deletions

View File

@ -1,4 +1,4 @@
 (€­β8@΅θ;PdX`c  (€­β8@΅θ;PdX`c
< ((€­β2ΕΈ2συ@Άθ;JΖΈJσυPdX¬`Η < ((€­β2ΕΈ2συ@Άθ;JΖΈJσυPdX¬`Η
?<18>ΑΧ/ 2(€­β2ΕΈ2συ@£θ;JσυJΖΈPdXξ`σ ?<18>ΑΧ/ 2(€­β2ΕΈ2συ@£θ;JΖΈJσυPdXξ`σ

Binary file not shown.

View File

@ -117,48 +117,6 @@
"Gain": { "Gain": {
"100001": 30000 "100001": 30000
} }
}, }
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
] ]
} }

Binary file not shown.

View File

@ -51,7 +51,7 @@ const (
ETCDKEY_LotteryUser = "/game/user_lottery" //抽奖用户必中配置 ETCDKEY_LotteryUser = "/game/user_lottery" //抽奖用户必中配置
ETCDKEY_PigBankDiamond = "/game/pigbank_diamond" //存钱罐消耗获得 ETCDKEY_PigBankDiamond = "/game/pigbank_diamond" //存钱罐消耗获得
ETCDKEY_PigBankProp = "/game/pigbank_prop" //存钱罐属性 ETCDKEY_PigBankProp = "/game/pigbank_prop" //存钱罐属性
ETCDKEY_NianConfig = "/game/activity_nian" //年兽活动配置 ETCDKEY_NianConfig = "/game/activity_nian/" //年兽活动配置
ETCDKEY_NianRankConfig = "/game/activity_nian_rank" //年兽排行榜配置 ETCDKEY_NianRankConfig = "/game/activity_nian_rank" //年兽排行榜配置
KeyRedPacket = "/game/act_redpacket" //红包配置 KeyRedPacket = "/game/act_redpacket" //红包配置
KeyActConsume = "/game/act_consume" //累计消耗活动配置 KeyActConsume = "/game/act_consume" //累计消耗活动配置

View File

@ -312,7 +312,7 @@ func CSPushCoinPlayerOp(s *netlib.Session, packetid int, data interface{}, sid i
} }
case activity.OpCodes_OP_Shake: case activity.OpCodes_OP_Shake:
item := BagMgrSingleton.GetItem(p.SnId, common.ItemIDShake) item := BagMgrSingleton.GetItem(p.SnId, common.ItemIDPlum)
if item == nil || item.ItemNum < msg.GetOpParam() { if item == nil || item.ItemNum < msg.GetOpParam() {
pack.OpRetCode = activity.OpResultPushCoinCode_OPRC_PushCoin_ShakeNotEnough pack.OpRetCode = activity.OpResultPushCoinCode_OPRC_PushCoin_ShakeNotEnough
goto here goto here
@ -321,7 +321,7 @@ func CSPushCoinPlayerOp(s *netlib.Session, packetid int, data interface{}, sid i
BagMgrSingleton.AddItems(&model.AddItemParam{ BagMgrSingleton.AddItems(&model.AddItemParam{
Platform: p.Platform, Platform: p.Platform,
SnId: p.SnId, SnId: p.SnId,
Change: []*model.Item{{ItemId: common.ItemIDShake, ItemNum: -msg.GetOpParam()}}, Change: []*model.Item{{ItemId: common.ItemIDPlum, ItemNum: -msg.GetOpParam()}},
GainWay: common.GainWayPushCoinExchangeCost, GainWay: common.GainWayPushCoinExchangeCost,
Operator: "system", Operator: "system",
Remark: "推币机兑换消耗", Remark: "推币机兑换消耗",

Binary file not shown.