Commit be9ecc1971466d92555977b66216203358677099
1 parent
2685b519
钻石只能买一次
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/actions/StoreAction.lua
... | ... | @@ -14,6 +14,8 @@ function _M.rechargeRpc(agent , data) |
14 | 14 | diamondCount = diamondCount + dataSet.diamondFirst |
15 | 15 | rechargeF[id] = 1 |
16 | 16 | role:updateProperty({field = "rechargeF", value = rechargeF}) |
17 | + else | |
18 | + return --钻石只能买一次 | |
17 | 19 | end |
18 | 20 | role:gainDiamond({count = diamondCount, isRecharge = true, log = {desc = "recharge", int1 = id}}) |
19 | 21 | elseif dataSet.type == 1 then --月卡 | ... | ... |