魔兽世界乌龟服牧师宏分享

更多详细内容请关注右侧公众号获取 👉👉👉👉👉

套盾宏,有目标为目标套盾,没目标给自己套盾,若目标有虚弱灵魂,则不会重复套盾

1
2
3
4
5
6
7
# showtooltip 真言术:盾
/script local t = "target";
/script if UnitIsEnemy("player","target") then t = "player";end;
/script if not UnitExists("target") then t = "player";end;
/script if not IsBuffActive("虚弱灵魂",t) and not IsBuffActive("真言术:盾",t) then
CastSpellByName("真言术:盾",t); end;

上buff宏,若目标无该buff,则给目标上buff,技能名称可以自己修改

1
2
3
4
5
6
# showtooltip 神圣之灵
/script t = "target";
/script if UnitIsEnemy("player","target") then t = "player";end;
/script if not UnitExists("target") then t = "player";end;
/script if not IsBuffActive("神圣之灵",t) then CastSpellByName("神圣之灵",t); end;