STATUS: ONLINE | DISPLAYING 15 ITEMS PER PAGE
后端Lua

function completetask(actor, 1) gotonow(actor, 78, 54) -- 完成任务后传送到坐标(78,54) end 为什么我的1标红

后端Lua

function completetask(actor,1) gotonow(actor, 78,54) end

后端Lua

local task = {} function id1(actor) newpicktask(actor, 1) gotonow(actor, 42,83) if lib:getvalueb(actor, "U58") >= 5 and newcompletetask(actor,1) then gotonow(actor, 78,54) end end -- function id1(actor) -- gotonow(actor, 4

后端Lua

local mapName = getbaseinfo(actor, 3) or "" -- 获取地图名称 local targetMapName3 = "残阳寺" -- 你的目标地图名称 local bossName = "迷了心窍的疯僧" if mapName == targetMapName3 then -- 2. 获取被杀死的怪物名称 local monName = getbaseinfo(mon, 1, 0

后端Lua

newcompletetask

后端Lua

function clicknewtask(actor) clicknewtask(actor,1) end

后端Lua

local task = {} function task:main(actor) clicknewtask(actor,1) end return task

后端Lua

我想通过唯一ID获取物品index

后端Lua

身上穿的衣服 想脱掉提示禁止取下 都哪里可以设置这个属性?

后端Lua

-- 接收前端消息 function handlerequest(play,msgid,p1,p2,p3,sMsg) -- release_print("接收前端参数:",param1,param2,param3) release_print("===QF接收前端字符串====") release_print("消息id::",msgid) release_print("参数:", p1, p2, p3) release_print("消息内容:", sM

后端Lua

function feijianhit(actor, sMsg) local baseDamage = getplaydef(actor, "N$切割加成") baseDamage = tonumber(baseDamage) or 0 local percent = getplaydef(actor, "U220") percent = tonumber(percent) or 0 local value = getconst(actor, "

后端Lua

function feijianhit(actor, sMsg) local baseDamage = getplaydef(actor, "N$切割加成") baseDamage = tonumber(baseDamage) or 0 local percent = getplaydef(actor, "U220") percent = tonumber(percent) or 0 local v

后端Lua

不对,这样就不自动攻击怪物了

后端Lua

function feijianhit(actor, sMsg) local baseDamage = getplaydef(actor, "N$切割加成") baseDamage = tonumber(baseDamage) or 0 local percent = getplaydef(actor, "U220") percent = tonumber(percent) or 0 local value = getconst(actor, "

后端Lua

GameEvent = {} local _listeners = {} function GameEvent.add(eventName, func, tag, priority) assert(tag, "Tag must not be nil") if not _listeners[eventName] then _listeners[eventName] = {} end local eventListeners = _listeners[eventName]