修改月卡赠送 非绑定金币10万

This commit is contained in:
admin 2026-06-22 22:41:14 +08:00
parent 636cf78c75
commit 739217abb8

View file

@ -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,