修改月卡赠送非绑定20W

This commit is contained in:
admin 2026-06-22 22:42:19 +08:00
parent 739217abb8
commit f34ebe8475
2 changed files with 2 additions and 2 deletions

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["金币"],"+",200000,"开通月卡",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,

View file

@ -41,7 +41,7 @@ function ui.init(parent, __data__, __update__)
GUI:setTag(btn_close, -1) GUI:setTag(btn_close, -1)
-- Create price_text -- Create price_text
local price_text = GUI:Text_Create(img_bg, "price_text", 428, 147, 18, "#6d160c", [[赠送:10万绑定金币]]) local price_text = GUI:Text_Create(img_bg, "price_text", 428, 147, 18, "#6d160c", [[赠送:20万绑定金币]])
GUI:Text_disableOutLine(price_text) GUI:Text_disableOutLine(price_text)
GUI:setAnchorPoint(price_text, 0.50, 0.50) GUI:setAnchorPoint(price_text, 0.50, 0.50)
GUI:setTouchEnabled(price_text, false) GUI:setTouchEnabled(price_text, false)