TXT语法专家
全部技术档案
后端Lua
local npc = {} EquipPos = {[0] = "衣服",[1] = "武器",[2] = "勋章",[3] = "头盔",[4] = "项链",[5] = "手镯(右)" , [6] = "手镯(左)",[7] = "戒指(右)",[8] = "戒指(左)",[10] = "腰带",[11] = "靴子"} npc.Attribute = { attName = { [1] = "血量", [3] = "攻击下限", [4] = "
前端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
TXT语法专家
如果设置了斗笠、头盔分离 是什么意思
TXT语法专家
如果玩家佩戴了时装,排行榜怎么不显示玩家时装样式
前端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
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 player = {} function player.new(actor) local new = { actor = actor, lv = getbaseinfo(actor,6) } setmetatable(new,{__index = player}) return new end function player:addlv(num) changelevel(self.act
后端Lua
local player = {} function player.new(actor) local new = { actor = actor, lv = getbaseinfo(actor,6) } setmetatable(new,{__index = player}) return new end function player:lv(num) changelevel(self.actor,
后端Lua