练级用一键宏,别的摆好了以后只用第五个宏即可,第五个宏可以随便摆位置 1.钉刺宏,如果目标身上没有钉刺,上钉刺。 /script local i,b,f;for i=1,20 do b=UnitDebuff("target",i);if b and strfind(b,"Quickshot") then f=1;break;end;end;if not f then CastSpellByName("毒蛇钉刺");end; 2.标记宏,如果目标身上没有标记,上标记。 /script local i,b,f;for i=1,20 do b=UnitDebuff("target",i);if b and strfind(b,"SniperShot") then f=1;break;end;end;if not f then CastSpellByName("猎人印记");end; 3.远程攻击宏,包含连按不取消射击+标记+钉刺(不对元素怪用)+急速射击好了就用(22号键位,不想加这个删掉) /script if (not IsAutoRepeatAction(19)) then UseAction(19);end; /script UseAction(20); /script if not (UnitCreatureType("target")=="元素生物") then UseAction(21);end; /script UseAction(22); 4.近战宏,包含猛禽+摔绊+触发猫鼬以后用猫鼬 /cast 猛禽一击 /script local i,b,f;for i=1,20 do b=UnitDebuff("target",i);if b and strfind(b,"Trip") then f=1;break;end;end;if not f then CastSpellByName("摔绊");end; /cast 猫鼬撕咬 5.砍射宏,一键包含远程和近战,远了就射,进了就砍 /script if (IsActionInRange(15)==1) then UseAction(14);else UseAction(13);end /script CastPetAction(1); 《这句话意思是宝宝攻击,不需要宝宝攻击就删掉这一行》
打本用一键宏,包含宝宝攻击+标记+瞄准射击+远了射近了砍,打本一般不用多重和钉刺,所以没写进去,如果要打这俩技能自己按,别的摆好以后只用第四个宏即可 1.标记宏,如果目标身上没有标记,上标记。 /script local i,b,f;for i=1,20 do b=UnitDebuff("target",i);if b and strfind(b,"SniperShot") then f=1;break;end;end;if not f then CastSpellByName("猎人印记");end; 2.远程攻击宏,包含连按不取消射击+标记+急速射击好了就用(22号键位,不想加这个删掉) /script if (not IsAutoRepeatAction(19)) then UseAction(19);end; /script UseAction(20) /script UseAction(22); 3.近战宏,包含猛禽+摔绊+触发猫鼬以后用猫鼬 /cast 猛禽一击 /script local i,b,f;for i=1,20 do b=UnitDebuff("target",i);if b and strfind(b,"Trip") then f=1;break;end;end;if not f then CastSpellByName("摔绊");end; /cast 猫鼬撕咬 4.砍射宏,一键包含远程和近战,远了就射,进了就砍 /script if (IsActionInRange(15)==1) then UseAction(14);else UseAction(13);end /cast 瞄准射击 /script CastPetAction(1);《这句话意思是宝宝攻击,不需要宝宝攻击就删掉这一行》