2024-11-23怀旧服宏

战士

挂机

/script if UnitAffectingCombat("target") then CastSpellByName("英勇打击");else if UnitExists("target") then CastSpellByName("冲锋");end;end;

自动冲锋

/cast [nocombat,stance:1] 冲锋; [combat, nostance:3] 狂暴姿态; [nocombat, nostance:1] 战斗姿态; [combat,stance:3] 拦截

自动压制/打击

/cast 压制
/cast 英勇打击

冲锋跟随

/target 她又长又白
/follow
/协助 她又长又白
/script if UnitAffectingCombat("target") then CastSpellByName("英勇打击");else if UnitExists("target") then CastSpellByName("冲锋");end;end

跟随打怪

/script if UnitAffectingCombat("target") and not IsAutoRepeatAction(2) then CastSpellByName("攻击");else if IsActionInRange("2") then CastSpellByName("英勇打击");end;end;

自动射击判断

/script if not IsAutoRepeatAction(12) then CastSpellByName("射击");end;

冲锋 撕裂 打击 (需要buff插件

/script if not IsBuffActive("战斗怒吼","player") and UnitMana("player")>10 then CastSpellByName("战斗怒吼");end;
/script if UnitExists("target") and UnitAffectingCombat("target") then CastSpellByName("压制");end;
/script if not IsBuffActive("撕裂","target") and UnitMana("player")>10 then CastSpellByName("撕裂");end;
/script if UnitAffectingCombat("target") and UnitMana("player")>15 then CastSpellByName("英勇打击");else if UnitExists("target") and UnitHealth("player")>380 then CastSpellByName("冲锋");end;end;

手动冲锋 免疫撕裂断筋

/startattack
/script if UnitHealth("target")<20 then CastSpellByName("斩杀");end;
/script if not IsBuffActive("战斗怒吼","player") and UnitMana("player")>10 then CastSpellByName("战斗怒吼");end;
/script if UnitMana("player")>15 and UnitAffectingCombat("player") then CastSpellByName("英勇打击") end;

手动冲锋 优先破甲打击

/script if UnitExists("target") and UnitHealth("target")<20 then CastSpellByName("斩杀");end;
/script if not IsBuffActive("战斗怒吼","player") and UnitMana("player")>10 then CastSpellByName("战斗怒吼");end;
/script if UnitExists("target") and UnitAffectingCombat("target") then CastSpellByName("压制");end;
/script if UnitExists("target") and not IsBuffActive("撕裂","target") and UnitMana("player")>10 and UnitAffectingCombat("player") then CastSpellByName("撕裂");end;
/script if UnitExists("target") and not IsBuffActive("断筋","target") and UnitMana("player")>10 and UnitAffectingCombat("player") then CastSpellByName("断筋");end;
/script if UnitExists("target") and UnitMana("player")>45 and UnitAffectingCombat("player") then CastSpellByName("英勇打击") end;
/script if UnitExists("target") and UnitMana("player")>15 and UnitAffectingCombat("player") then CastSpellByName("破甲攻击") end;

手动冲锋 带盾

/script if not IsBuffActive("战斗a怒吼","player") and UnitMana("player")>10 then CastSpellByName("战斗怒吼");end;
/script if UnitExists("target") and UnitMana("player")>10 and UnitAffectingCombat("player") then CastSpellByName("盾牌格挡") end;
/script if UnitExists("target") and not IsBuffActive("撕裂","target") and UnitMana("player")>10 and UnitAffectingCombat("player") then CastSpellByName("撕裂");end;
/script if UnitExists("target") and not IsBuffActive("断筋","target") and UnitMana("player")>10 and UnitAffectingCombat("player") then CastSpellByName("断筋");end;
/script if UnitExists("target") and UnitMana("player")>60 and UnitAffectingCombat("player") then CastSpellByName("英勇打击") end;
/script if UnitExists("target") and UnitMana("player")>15 and UnitAffectingCombat("player") then CastSpellByName("破甲攻击") end;

自动攻击

/run for z=1,172 do if IsAttackAction(z) then if not IsCurrentAction(z) and UnitAffectingCombat("player") then UseAction(z);end;end;end;

战士Aoe

/script if not IsBuffActive("挫志怒吼","target") and UnitExists("target") and UnitMana("player")>10 then CastSpellByName("挫志怒吼");end;
/script if not IsBuffActive("雷霆一击","target") and UnitMana("player")>20 then CastSpellByName("雷霆一击");end;
/script if UnitMana("player")>20 then CastSpellByName("顺劈斩");end;

术士吸取灵魂,可以替换自动打怪

/targetenemy [noexists][dead][help]
/Cast [nochanneling:吸取灵魂,@target,harm,nodead] 吸取灵魂

萨满、

自动加 buff

/script if not IsBuffActive("闪电之盾","player") then CastSpellByName("闪电之盾");end;
/script if not IsBuffActive("石化武器","player") then CastSpellByName("石化武器");end;

治疗

/cast [@player,mod:alt] [@mouseover,help] [@target,help] [@targettarget,help] []治疗波

萨满震击buff自动切换

/script if not IsBuffActive("烈焰震击","target") then CastSpellByName("烈焰震击");else CastSpellByName("地震术"); end;
/run for z=1,172 do if IsAttackAction(z)then if not IsCurrentAction(z)then UseAction(z);end;end;end;

插棍子

/script if not buffed("风怒") then CastSpellByName("风怒图腾");end
/script if not buffed("大地之力") then CastSpellByName("大地之力图腾");end
/script if not buffed("治疗之泉") then CastSpellByName("治疗之泉图腾");end
/script if (UnitMana("Player")>0) then CastSpellByName("灼热图腾");end

牧师

一直按键

/stopcasting
/use 祝福珠串
/script if not IsBuffActive("恢复","target") and UnitMana("player")>500 then CastSpellByName("恢复");end;
/script if UnitHealth("target") < 1700 then CastSpellByName("快速治疗");end;
/cast 治疗术

自动切换队友奶

/run if UnitHealth("player")/UnitHealthMax("player") < 0.8 then TargetUnit("player");end
/run if UnitExists("target") and UnitHealth("target")/UnitHealthMax("target") < 0.8 then CastSpellByName("次级治疗术");else TargetNearestPartyMember();end

暗牧自动打怪

/script if not IsBuffActive("吸血鬼的拥抱","target") then CastSpellByName("吸血鬼的拥抱");end;
/script if not IsBuffActive("暗言术:痛","target") then CastSpellByName("暗言术:痛");end;
/script if UnitMana("player")>2000 then CastSpellByName("心灵震爆");end;
/cast 精神鞭笞

牧师自动打怪

/script if not IsBuffActive("暗言术:痛","target") and UnitMana("player")>1000 and UnitHealth("target") >600 and UnitExists("target") then CastSpellByName("暗言术:痛");end;
/script if not IsAutoRepeatAction(12) and UnitExists("target") then CastSpellByName("射击");end;
/script if UnitHealth("player") < 1000 and UnitMana("player")>1000 and UnitHealth("target") >600 and UnitExists("target") then CastSpellByName("噬灵瘟疫");end;

牧师自动打怪+盾

/script if UnitMana("player")>350 and not IsBuffActive("真言术:盾","player") then CastSpellByName("真言术:盾");end;
/script if UnitAffectingCombat("player") ~=1 and not IsBuffActive("真言术:韧","player") then CastSpellByName("真言术:韧");end;
/script if UnitExists("target") and IsActionInRange(1)==1 and UnitAffectingCombat("player") then CastSpellByName("惩击") end;
/script if UnitMana("player")>380 and UnitExists("target") and UnitAffectingCombat("target")~=1 and IsActionInRange(1)==1 then CastSpellByName("惩击");else if UnitAffectingCombat("player") ~=1 then TargetNearestEnemy();end;end;

牧师自动buff

/script if not IsBuffActive("真言术:盾","player") then CastSpellByName("真言术:盾");end;
/script if not IsBuffActive("启发","player") then CastSpellByName("启发");end;
/script if not IsBuffActive("虚弱之触","player") then CastSpellByName("虚弱之触");end;
/script if not IsBuffActive("心灵之火","player") then CastSpellByName("心灵之火");end;
/script if not IsBuffActive("神圣之灵","player") then CastSpellByName("神圣之灵");end;
/script if not IsBuffActive("真言术:韧","player") then CastSpellByName("真言术:韧");end;
/script if not IsBuffActive("防护暗影","player") then CastSpellByName("防护暗影");end;
/script if not IsBuffActive("防护恐惧结界","player") then CastSpellByName("防护恐惧结界");end;
/script CastSpellByName("心灵专注");

牧师输出--乌龟服

/script if IsBuffActive("灼热之光","player") then CastSpellByName("惩击");end;
/script CastSpellByName("心灵专注");
/script if UnitHealth("target") < 200 then CastSpellByName("痛苦尖刺");end;
/script if UnitAffectingCombat("target")~=1 or not IsBuffActive("纯净火焰","player") then CastSpellByName("神圣之火");else CastSpellByName("惩击");end;

法师

跟随打怪

/target 黑丝肉丝白丝
/follow
/协助 黑丝肉丝白丝
/cast 火球术

挂机自动找怪挂机 炎爆起手

/script local C, U=CastSpellByName, UnitAffectingCombat;if UnitExists("target") and IsActionInRange(1)==1 then if UnitAffectingCombat("player") ~=1 then C("炎爆术") else C("火球术") end;end;
/script TargetNearestEnemy();

自动挂机火球术

/cast 燃烧
/script local C,U=CastSpellByName,UnitAffectingCombat;if UnitExists("target") and IsActionInRange(1)==1 then C("火球术") end;
/script TargetNearestEnemy();

-- 可增加不切换目标

自动挂机 打法师反制

/script if UnitAffectingCombat("target") then CastSpellByName("法术反制");end;
/script local C,U=CastSpellByName,UnitAffectingCombat;if UnitExists("target") and IsActionInRange(1)==1 then C("寒冰箭") end;
/script TargetNearestEnemy();

自动造水或者喝水 --不能加其他Buff

/script if UnitAffectingCombat("player") ~=1 and GetActionCount(11)<1 then CastSpellByName("造水术");end;
/script local d=UnitBuff("player",1); if not d and UnitAffectingCombat("player") ~=1 and UnitMana("player")< 900 then UseAction(11) end;

制造水或者喝水简化 -多buff共存_不判断蓝量

/run local n,i,j;j=0;for i=1,16 do n=UnitBuff("player",i);if n and strfind(n,"Drink") then j=1 end;end;if not UnitAffectingCombat("player") then if GetActionCount(11)<1 then CastSpellByName("造水术")elseif j==0 then UseAction(11)end;end;

战斗时冰环,非战斗时Buff/喝水或者造水;;E键

/script if UnitAffectingCombat("player") then CastSpellByName("冰霜新星");end;
/script if UnitAffectingCombat("player") ~=1 and not IsBuffActive("奥术智慧","player") and not IsBuffActive("奥术光辉","player") then CastSpellByName("奥术智慧");end;
/script if UnitAffectingCombat("player") ~=1 and not IsBuffActive("冰甲术","player") and not IsBuffActive("魔甲术","player") then CastSpellByName("冰甲术");end;
/script if not IsBuffActive("喝水","player") and not IsBuffActive("寒冰护体","player") then CastSpellByName("寒冰护体");end;
/script if UnitAffectingCombat("player") ~=1 and GetActionCount(11)>1 then UseAction(11);else CastSpellByName("造水术");end;
/script if UnitAffectingCombat("player") ~=1 and GetActionCount(12)>1 then UseAction(12);else CastSpellByName("造食术");end;

乌龟服触发buff就冰柱,

/script if IsBuffActive("冰霜速冻","player") then CastSpellByName("冰柱");end;
/script CastSpellByName("冰柱")
/script CastSpellByName("寒冰箭")

乌龟服牧师挂机

/script if UnitExists("target") and IsActionInRange(1)==1 and UnitAffectingCombat("player") then CastSpellByName("惩击") end;
/script if UnitMana("player")>130 and UnitExists("target") and UnitAffectingCombat("target")~=1 and IsActionInRange(1)==1 then CastSpellByName("惩击");else if UnitAffectingCombat("player") ~=1 then TargetNearestEnemy();end;end;

其他

自动邀请人

/i 白丝肉丝黑丝
/i 白丝黑丝肉丝
/i 肉丝黑丝白丝
/i 肉丝白丝黑丝

1.12.1 打印身上buff的名称,用于

/run local n,i,j;j=0;for i=1,16 do n=UnitBuff("player", i);if n and strfind(n,"Drink") then j=1 end;end;

钓鱼相关

开背包的箱子

/run local s={"铁箍箱","秘银箱","巨型蚌"} for b=0,4 do for sl=1,GetContainerNumSlots(b) do local i=GetContainerItemLink(b,sl) if i then for _,n in ipairs(s) do if strfind(i,n) then UseContainerItem(b,sl) return end end end end end

搓皮搓布卖商店同理

/run local s={"强盗面罩","夜色外套"} for b=0,4 do for sl=1,GetContainerNumSlots(b) do local i=GetContainerItemLink(b,sl) if i then for _,n in ipairs(s) do if strfind(i,n) then UseContainerItem(b,sl) return end end end end end

钓鱼垃圾卖商店

/run local s={"重皮","丝绸卷","大背包","鱼"} for b=0,4 do for sl=1,GetContainerNumSlots(b) do local i=GetContainerItemLink(b,sl) if i then for _,n in ipairs(s) do if strfind(i,n) then UseContainerItem(b,sl) return end end end end end

删除东西---写的名称不一定能搜索到,要测试

/run s={"藻","酒","鱼","鳗","蚌","力药","疗药"} for b=0,4 do p=GetContainerNumSlots(b) for i=1,p do e=GetContainerItemLink(b,i) for k,v in pairs(s) do if e and string.find(e,v) then PickupContainerItem(b,i);DeleteCursorItem();end end end end

跟随队长

/run for i=1, GetNumPartyMembers() do local u="party"..i if UnitIsPartyLeader(u) then FollowUnit(u) break end end

团队跟随开火车

/run local p=UnitName("player") local j,k,l for i=1,GetNumGuildMembers() do local n,,,,,,,_,o=GetGuildRosterInfo(i) if o then k=j j=i l=i if n==p and k then l=k break end end end local n2=GetGuildRosterInfo(l) FollowByName(n2)

最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容