前端Lua
全部技术档案
前端Lua
发送到后端TXT
热血江湖Lua
local config = { [1] = { monName = "甲壳虫", monShowItems = { [1] = 60298, [2] = 60299, [3] = 60300 } }, [2] = { monName = "蠕虫", monShowItems = { [1] = 60298, [2] = 60299, [3] = 60300 } }, [3] = { monName = "变异虫王",
前端Lua
表中数据太多,可以写在其他地方吗
后端Lua
function ds_tsjdwz(actor, name) local strValue = getplaydef(actor, "S$合成变量") if strValue == "114555" then local newitem = giveitem(actor, name .. " ★ 完整") local weiyiid = getiteminfo(actor, newitem, 1) -- 参数7表示获取物品名称 l
前端Lua
local config = { [1] = { monName = "甲壳虫", monShowItems = { [1] = 60298, [2] = 60299, [3] = 60300 } }, [2] = { monName = "蠕虫", monShowItems = { [1] = 60298, [2] = 60299, [3] = 60300 } }, [3] = { monName = "变异虫王",
后端Lua
-- 正确读取 Excel 文件的示例 local config = readexcel("../DATA/cfg_npclist.xls") release_print("readexcel 读取成功,返回类型为:", type(config)) if type(config) == "table" then -- 遍历表格数据 for i, row in ipairs(config) do if type(row) == "table" then
前端Lua
前端如何读取配置表
前端Lua
前端获取金币的原变量 元宝的原变量
TXT语法专家
帮我写一个脚本 检测玩家是否有某个物品,如果有就扣除,然后再赠送玩家其他的物品
后端Lua
攻击触发怎么让伤害为0
后端Lua
local str = newdqcsv("DATA\\cfg_npclist.xls",4,2) release_print("第4行,第0列",str) 这个可以读取官方NPC表的内容吗?
TXT语法专家
获取前端数据
前端Lua
function MainTarget.SelectTarget(targetID) MainTarget._targetID = targetID local target = SL:GetMetaValue("ACTOR_DATA", MainTarget._targetID) if not MainTarget._targetID or not target then GUI:setVisible(MainTarget.UI.Node, false)
TXT语法专家