后端Lua
后端Lua
后端Lua
文件是否存在
后端Lua
local tongVar = settongvar(1, "+", 100) sendmsg(actor, 1, '{"Msg":"通区变量['..tongVar..']!","Type":9,"Time":2}')为什么变量一直是100
后端Lua
for k, v in string.gmatch(luck, string.format([["%d = %d"]]),k,v) do
后端Lua
给装备添加幸运
后端Lua
给装备添加属性
后端Lua
如何使用T变量设置键值对
后端Lua
Navigation 引导玩家 点 属性点按钮 怎么操作
后端Lua
function npc:checkGem(actor) local equipHasGem = {[1] = 0, [2] = 1, [3] = 2,[4] = 3,[5] = 4,[6] = 5,[7] = 6,[8] = 7,[9] = 8,[10] = 10, [11] = 11} for k, v in ipairs(equipHasGem) do local eqObj = linkbodyitem(actor, v) local g
后端Lua
通过物品idx获取物品数量
后端Lua
local baobao = recallmob(actor, "骷髅", 1, 1000, 0) 如果宝宝攻击配置为15 实际攻击的时候最多能打17的攻击,为何会多出来2点
后端Lua
指定玩家掉落物品如何实现
后端Lua
throwitem(actor,mapID,x+1,y+1,5,"木剑",1,20,false,false,true,false) 为什么 actor 换成 nil 不行
后端Lua
function npc:inlay(actor, param3,str) -- p3 = 装备位置 local gemTbl = json2tbl(str) dump(gemTbl) local equipObj = linkbodyitem(actor, param3) -- 获取装备对象 if gemTbl[1].count <= 0 then return sendmsg(actor, 1, '{"M
后端Lua