后端Lua
后端Lua
后端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
object是什么意思
后端Lua
[2026/5/3 星期日 0:45:38] CallLua1 Func:handlerequest 14 luaErr:.\Envir\QuestDiary/npc/沙城捐献.lua:45: bad argument #1 to 'insert' (table expected, got string) stack traceback: [C]: in function 'insert' .\Envir\QuestDiary/npc/沙城捐献.lua:45: in function 'ta
后端Lua
table.sort
后端Lua
遍历可以从后往前嘛
后端Lua
getsysvarex和getsysvar
后端Lua
只有重新打开背包,里面数据才是新的
后端Lua
回收啊,调用 getbagblank(actor) 剩余空格数美变化
后端Lua
execrecycling(actor) refreshbag(actor)调用后客户端,SL:Get_BAG_DATA()还是获取到回收前的数据
后端Lua
execrecycling(actor)回收到,客户端SL:Get_BAG_DATA()获取数据没刷新
后端Lua