|
|
发表于 2026-9-5 14:43:12
|
显示全部楼层
local queue = {
"自动复活",
"自动弹框确认"
};
local function AutoConfirm()
if StaticPopup1Button1:IsVisible() then
StaticPopup1Button1:Click();
end
end
local abilities = {
["自动复活"] = function()
if UnitIsDeadOrGhost("player") then
ni.player.runtext("/o .fh");
return true;
end
end,
["自动弹框确认"] = AutoConfirm,
};
ni.bootstrap.profile("常用功能", queue, abilities); |
|