后端Lua
后端Lua
后端Lua
获取玩家名和等级
后端Lua
-- 检测等级 文本内容包含级 if string.find(str,"级") then -- release_print("包含级") local biaoji = false if getbaseinfo(play,6) < tonumber(lv) then biaoji = false if getbaseinfo(play,39) > 0 then biaoji = true end
后端Lua
快捷栏绑定
后端Lua
快捷栏的命令
后端Lua
将物品放置快捷栏怎么设置m2可以吗
后端Lua
将物品放置快捷栏怎么设置
后端Lua
getiteminfo
后端Lua
我要去别的脚本里面去调用lib.stdmode(actor, itemobj)怎么去调用 function lib.stdmode(actor, itemobj) local item_name = getiteminfo(actor, itemobj, 7) --双击 StdmodeFunc.click_stdmode_fuc(actor, item_name, itemobj) end
后端Lua
function beforeeatitem(actor, itemobj, itemIdx, makeIndex, nOverLap, stdMode, result) release_print("双击使用道具前触发", itemIdx, makeIndex, nOverLap, stdMode) -- 获取物品名称 local item_name = getstditeminfo(11898, 1) local item_name_1 = gets
后端Lua
function beforeeatitem(actor,Anicount,makeIndex,itemIdx,nOverLap) p("双击类道具触发",Anicount,makeIndex,itemIdx,nOverLap) local item_mame= getstditeminfo(11898,1) -- local player = class(actor) if item_mame == "回城石" then -- 回城 道具 ID
后端Lua
function beforeeatitem(actor,Anicount,makeIndex,itemIdx,nOverLap) release_print("双击类道具触发",Anicount,makeIndex,itemIdx,nOverLap) -- local player = class(actor) if itemIdx == 11898 then -- 回城 道具 ID / 类型标识 release_print("双击类道具触
后端Lua
怎么去除字符串里面的空字符串
后端Lua
itemobj
后端Lua