后端Lua
后端Lua
后端Lua
在一个名为buff.lua的文件中创建所有buff攻击行为 在攻击触发时 获取自身所有buff 如果在buff.lua中能找到buffid 则执行函数 你帮我设计一套方案
后端Lua
通过NPC名字 获取NPC的ID
后端Lua
祝福油的概率怎么配置
后端Lua
后端获取物品ID后如何传递到txt
后端Lua
点击NPC时 检测自己与NPC距离
后端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
-- 正确读取 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
攻击触发怎么让伤害为0
后端Lua
local str = newdqcsv("DATA\\cfg_npclist.xls",4,2) release_print("第4行,第0列",str) 这个可以读取官方NPC表的内容吗?
后端Lua
写一个计算目标当前血量百分比的代码
后端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 =
后端Lua
想要战士自定义技能展示在F12的战斗里面,要怎么配置
后端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]
后端Lua