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

local moshenyuanli = {} -- 处理魔神原力系统请求 function moshenyuanli.link(actor, msgid, arg1, arg2, arg3, sMsg) if not cfg_moshenyuanli or not next(cfg_moshenyuanli) then return end local data = nil if sMsg and sMsg ~= "" then

后端Lua

local che = { {brand = '大众',price = 300000}, {brand = '奔驰',price = 400000}, } local car = {} setmetatable(car,{__index = che[2]}) local function newcar(color,drive) local car = { color = color or '蓝色', drive = drive } function c

后端Lua

local che = { {brand = '大众',price = 300000}, {brand = '奔驰',price = 400000}, } local car = {} setmetatable(car,{__index = che[2]}) local function newcar(brand,price,color,drive) local car = { brand = brand, price = price, color = colo

后端Lua

什么是方法

后端Lua

变量相连如何输出

后端Lua

local che = { {brand = '大众',price = 300000}, {brand = '奔驰',price = 400000}, } local car = {} setmetatable(car,{__index = che[1]}) function car:showinfo(brand,price) return self.brand,self.price end local brand,price = car:showinfo(car.brand,c

TXT语法专家

local che = { {brand = '大众',price = 300000}, {brand = '奔驰',price = 400000}, } local car = {} setmetatable(car,{__index = che[1]}) function car:showinfo(brand,price) return self.brand,self.price end local brand,price = car:showinfo(car.brand,c

前端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},

TXT语法专家

火墙禁止74号属性 有没有办法

后端Lua

include("QuestDiary/4全局数据/1数据配置.lua") -- 变量 : 图鉴-页-按钮-物品 图鉴111 -- 变量 : 图鉴属性 页-按钮 图鉴属性11 function addbutton_tujian(play) setplaydef(play,"N$图鉴页数",1) addbutton_tujian_del(play) end -- 清理提交过的物品 function addbutton_tujian_del(play,p1) p1 =

后端Lua

for _, element in ipairs(elementVars) do local level = math.min(tonumber(getplaydef(actor, element.var)) or 0, 10) -- 最高10级 if level > 0 then confertitle(actor, element.name .. level .. "』", 1) end end

热血江湖Lua

设置控件可见

热血江湖Lua

获取服务器下发变量

TXT语法专家

检测条件,没有的情况下,物品进入背包都赋予绑定状态

热血江湖Lua

addattlist(actor, 101, "=", "21#3") addattlist(actor, 101, "=", "22#3") addattlist(actor, 101, "=", "24#3") 这样添加得到的结果是被覆盖是叠加了