djfeiji 发表于 2023-12-14 19:40:22

自动排战场脚本

设置WBE1秒钟运行一次即可,自动排战场,会自动跳跳防止掉线
战场死后自动复活!~


if UnitIsDeadOrGhost("player") then RepopMe()RetrieveCorpse()AcceptResurrect()AcceptXPLoss()return;end
local t=GetTime()macroT=macroT or 0;
if t-macroT>8 then
   
    BeeRun("/run for i=1,GetNumBattlegroundTypes() do Name=GetBattlegroundInfo(i) if string.find(Name,'歌') then RequestBattlegroundInstanceInfo(i) JoinBattlefield(2,0)end end")
    BeeRun("/run for i=1,GetNumBattlegroundTypes() do Name=GetBattlegroundInfo(i) if string.find(Name,'拉') then RequestBattlegroundInstanceInfo(i) JoinBattlefield(2,0) return end end")
    macroT=t;
    JumpOrAscendStart()
end

BeeRun("/click ActionButton2")

BeeRun("/click StaticPopup1Button1")
BeeRun("/click StaticPopup2Button1")
BeeRun("/click StaticPopup3Button1")
BeeRun("/click GhostFrame")
BeeRun("/click WorldMapFrameCloseButton")

BeeRun("/目标 灵魂医者")
BeeRun("/目标 联盟医师")
BeeRun("/目标 部落医师")
BeeRun("/目标 灵魂医者")


页: [1]
查看完整版本: 自动排战场脚本