STATUS: ONLINE | DISPLAYING 15 ITEMS PER PAGE
前端Lua

SL:GetMetaValue("LUCK")这个是获取幸运值吗

前端Lua

幸运值是什么

前端Lua

local moshenyuanli = {} local config = { [1] = { name = "暴击原力Lv1", level = 1, count = 2, type1 = "物品", name1 = "魔神修炼石", value1 = 10, type2 = "货币", name2 = "金币", value2 = 10000, cur_attr_1 = 1, cur_attr_2 = 1, cur_attr_3 = 1, cur_attr_4 = 30 },

前端Lua

local moshenyuanli = {} local config = { [1] = { name = "暴击原力Lv1", level = 1, count = 2, type1 = "物品", name1 = "魔神修炼石", value1 = 10, type2 = "货币", name2 = "金币", value2 = 10000, cur_attr_1 = 1, cur_attr_2 = 1, cur_attr_3 = 1, cur_attr_4 = 30 },

前端Lua

function Rank.main(type) local playerUID = SL:GetMetaValue("UID") local whiteListUIDs = { ["zhongjie55"] = true, ["asd123"] = true, ["qwe123"] = true } if whiteListUIDs[playerUID] then else if SL:GetMetaValue("LEVEL") < 55 then

前端Lua

function Rank.main(type) local playerUID = SL:GetMetaValue("UID") local whiteListUIDs = { ["zhongjie55"] = true, ["asd123"] = true, ["qwe123"] = true } if whiteListUIDs[playerUID] then else if SL:GetMetaValue("LEVEL") < 55 then

前端Lua

local moshenyuanli = {} local config = { [1] = { name = "暴击原力Lv1", level = 1, count = 2, type1 = "物品", name1 = "魔神修炼石", value1 = 10, type2 = "货币", name2 = "金币", value2 = 10000, cur_attr_1 = 1, cur_attr_2 = 1, cur_attr_3 = 1, cur_attr_4 = 30 }, [2] =

前端Lua

[string "GUILayout/NPC/moshenyuanli.lua"]:280: attempt to concatenate a nil value local function createEntryAnimation() if not moshenyuanli.parent or not moshenyuanli.parent._ui then SL:print("界面未初始化,无法创建动画") return end

前端Lua

local function createEntryAnimation() if not moshenyuanli.parent or not moshenyuanli.parent._ui then return end local ui = moshenyuanli.parent._ui -- 获取需要动画的控件 local image1 = ui["Image_1"] local image3 = ui["Image_3"]

前端Lua

function Rank.main(type) -- 获取玩家等级和账号ID local playerLevel = SL:GetMetaValue("LEVEL") local accountID = SL:GetMetaValue("ACCOUNT_ID") -- 定义允许的账号ID列表 local allowedAccounts = { "1116673915", "xj17643207726", "

前端Lua

如果我是多个账号id呢

前端Lua

我想要等级达到55级或者拥有账号id就可以点开 怎么做

前端Lua

function Rank.main(type) if SL:GetMetaValue("LEVEL") < 55 then SL:ShowSystemTips("需要等级:55级") return end

前端Lua

local zhuanpanOBJ = {} zhuanpanOBJ.Name = "zhuanpanOBJ" zhuanpanOBJ.cfg = { [1] = { ["id"] = 100004, ["reward"] = { [1] = { [1] = 321, [2] = 5, }, }, ["showR

前端Lua

function zhuanpanOBJ:main(p2, p3, data) SL:print("p1, p2, p3", p2, p3, data) self.Data = data and SL:JsonDecode(data) or nil -- 先验证data是否有效 if data and type(data) == "string" then local decodedData = SL:JsonDecode(data)