修改月卡赠送 非绑定金币10万
This commit is contained in:
parent
636cf78c75
commit
739217abb8
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ function YueKaOBJ:buy(actor)
|
||||||
|
|
||||||
if Func.takeitmes(actor, self.cfg.xh, true, true) then
|
if Func.takeitmes(actor, self.cfg.xh, true, true) then
|
||||||
Player.setTLint(actor, VarCfg.Player.TL.int["月卡"], newExpireTime, newExpireTime)
|
Player.setTLint(actor, VarCfg.Player.TL.int["月卡"], newExpireTime, newExpireTime)
|
||||||
changemoney(actor,ConstCfg.sysMoney["绑定金币"],"+",100000,"开通月卡",true)
|
changemoney(actor,ConstCfg.sysMoney["金币"],"+",100000,"开通月卡",true)
|
||||||
local remainDays = math.ceil((newExpireTime - nowTime) / 86400)
|
local remainDays = math.ceil((newExpireTime - nowTime) / 86400)
|
||||||
Func.sendmsg9(actor, string.format("[月卡]:#70|开通成功,当前剩余#251|%d天#215|.", remainDays))
|
Func.sendmsg9(actor, string.format("[月卡]:#70|开通成功,当前剩余#251|%d天#215|.", remainDays))
|
||||||
sendmsgnew(actor, 251, 0,
|
sendmsgnew(actor, 251, 0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue