./cast [nostealth] 撕碎; 突襲
2./cast [nostealth] 斜掠; 毀滅
3.
/cancelaura [stance:1] 巨熊形態;[stance:2] 水棲形態; [stance:3] 獵豹形態; [stance:4] 旅行形態; [stance:5] 梟獸形態 ;
/stopcasting
/cast [target=player] 回春術
其它常用宏:
壹,撕咬 猛虎 潛行宏:
#show 兇猛撕咬(等級 5)
/cast [nostealth] 潛行(等級 3)
/cast [nostealth]兇猛撕咬(等級 5);[stealth]猛虎之怒(等級 4)
非戰鬥狀態按下潛行,潛行狀態下按下猛虎,戰鬥狀態下兇猛撕咬。
二,突襲連招宏:
#show 突襲(等級 3)
/castsequence [nostealth]reset=6/target/combat 精靈之火(野性)(等級 4),裂傷(豹)(等級 2),撕碎(等級 5)
/cast [stealth]突襲(等級 3)
潛行狀態下連續按依次施放 突襲 精靈之火 裂傷 撕碎。
三,沖鋒裂傷宏:
#show 裂傷(熊)(等級 2)
/cast 裂傷(熊)(等級 2)
/cast 野性沖鋒
遠距離按是沖鋒,近身則為裂傷。
四,擺脫宏:
/stopcasting
#show 部落徽記
/castsequence reset=60 自然之握(等級 6),驅毒術
/use 部落徽記
正常狀態下按壹下是自然之握,自然之握CD中按為給自己上驅毒(打開自我施法),昏迷狀態下按為徽章解除,此宏主要針對盜賊,人形態被偷襲的時候立刻連續按此宏能讓妳處於壹個比較安全的狀態,另外自己可以根據情況補精靈之火。
比較全小D的宏
野性篇:
(壹)熊形態
1、沖鋒:
(1)判斷是否在熊/巨熊形態,如果不是則變成熊再沖鋒+低吼;如果是則直接沖鋒+低吼。
/Script local c,s,i,f,n,a,_=CastSpellByName,"巨熊形態";for i=1,GetNumShapeshiftForms() do _,n,a=GetShapeshiftFormInfo(i);if n==s then break;end;end;if a==1 then if IsActionInRange (34) then c("野性沖鋒");else c("低吼");end;else c(s);end;
註:紅字:34是技能欄編號,使用這個宏前要先把野性沖鋒放在壹個技能欄位上(放在壹些少用的鍵位上)。具體鍵位編號見OBLIND的 [ .com/read.php?tid=678880 ]
(2)基本相同,但是不低吼。
/script local c,s,i,f,n,a,_=CastSpellByName,"巨熊形態";for i=1,GetNumShapeshiftForms() do _,n,a=GetShapeshiftFormInfo(i);if n==s then break;end;end;if a==1 then c("野性沖鋒");else c(s);end;
(3)這個在被擊飛或者緊急情況時用比較有效,野性沖鋒的同時低吼,如果怒氣還大於35就使用
揮擊揮霍怒氣拉住仇恨。
/cast 低吼
/cast 野性沖鋒
/Script if (UnitMana("Player")>35) then CastSpellByName("揮擊");end
2、拉仇恨:
槌擊+揮擊大量傾瀉怒氣,如果目標的目標不是小D或者戰士,則使用低吼。(OBLIND修改)
/script local class, c = UnitClass("targettarget"), CastSpellByName; if class ~= "德魯伊" and class ~= "戰士" then c("低吼"); else c("槌擊"); c("揮擊"); end; ) then CastSpellByName("低吼");end
3、攻擊+槌擊:
( 發揮補充)當怒氣小於10時使用普通攻擊,否則使用槌擊。
/script if (UnitMana("player")<10) then CastSpellByName("攻擊");else CastSpellByName("槌擊")end
4、熊形態+蠻獸神像:
人形態下,按1下是變熊,2下是換上蠻獸神像;熊形態下是換上蠻獸神像。(漠銘騎喵制作)紅字部分是UseContainerItem(背包編號,格子編號)。請把[蠻獸神像]放在最原始的16格包的左上角位置上。
PS:背包編號:從左到右:4,3,2,1,0。就是說,妳壹開始就有的16格行囊是0號背包。
背包格子編號:第壹行從左到右:1,2,3,4 (註意從1開始的) ;第二行從左到右:5,6,7,8 依此類推……
/script local c,s,i,f,n,a,_=CastSpellByName,"巨熊形態";for i=1,GetNumShapeshiftForms() do _,n,a=GetShapeshiftFormInfo(i);if n==s then break;end;end;if a==1 then UseContainerItem(0,1);else c(s);end;
(二)貓形態
1、貓形態常用攻擊宏:
通常情況下使用爪擊,當連擊點數大等於3點時(即“3星”),使用兇猛撕咬。
/script if ( GetComboPoints() >= 3 ) then CastSpellByName("兇猛撕咬"); else CastSpellByName
("爪擊") end
2、貓形態起手宏(潛行):
在潛行的條件下,毀滅起手,然後檢測對方身上是否有精靈之火,沒有就上個,有就爪擊。
/cast 毀滅
/cast 爪擊
/script x=1;found=0;while(UnitDebuff("target",x)) do if(string.find(UnitDebuff
("target",x),"Spell_Nature_FaerieFire"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("爪擊");else CastSpellByName("精靈之火(野性)")end
3、背面攻擊宏:
先判斷,如果毀滅能用就用毀滅,不能用就撕碎。
/script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff
("player",x),"Ambush"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("毀滅");else CastSpellByName("撕碎")end
4、潛行+突襲:
先判斷,如果在潛行狀態下就突襲,否則潛行。
/script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff("player",x),"Ambush"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("突襲");else CastSpellByName("潛行")end
5、爪擊+撕碎:
當能量大等於60時使用撕碎,小於60時使用爪擊。通常在BOSS戰DPS時使用。
/Script if (UnitMana("Player")>=60) then CastSpellByName("撕碎");else CastSpellByName("爪擊")end
6、攻擊+爪擊:
( 發揮補充)能量如果小於37則普通攻擊,大於37則爪擊。
/script if (UnitMana("player")<37) then CastSpellByName("攻擊");else CastSpellByName("爪擊")end
7、突襲+掃擊:
( 發揮補充)如果潛行則使用突襲,否則使用掃擊。
/script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff("player",x),"Ambush"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("突襲");else CastSpellByName("掃擊")end
8、貓形態+兇猛神像:
人形態下,按1下是變貓,2下是換上兇猛神像;貓形態下是換上兇猛神像。(漠銘騎喵制作)[紅字部分是UseContainerItem(背包編號,格子編號)。請把[兇猛神像]放在最原始的16格包的第壹行從左往右第2格的位置上。
PS:背包編號:從左到右:4,3,2,1,0。就是說,妳壹開始就有的16格行囊是0號背包。
背包格子編號:第壹行從左到右:1,2,3,4 (註意從1開始的) ;第二行從左到右:5,6,7,8 依此類推……
/script local c,s,i,f,n,a,_=CastSpellByName,"獵豹形態";for i=1,GetNumShapeshiftForms() do _,n,a,s=GetShapeshiftFormInfo(i);if n==s then break;end;end;if a==1 then UseContainerItem(0,2);else c(s);end;
(三)任何形態通用
1、人形宏:
判斷如果不是人形態,則恢復人形態。可在任何形態下使用。
/script local i,a,_;for i=1,GetNumShapeshiftForms() do _,_,a=GetShapeshiftFormInfo(i);if a then CastShapeshiftForm(i);break;end;end;
恢復篇:
1、樹皮+寧靜:
判斷是否有樹皮,沒有則放樹皮,有則放寧靜。簡而言之,點壹下是樹皮,2下是樹皮+寧靜。
/script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff("player",x),"StoneClaw"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("寧靜(等級 3)");else CastSpellByName("樹皮術")end
2、激活:
先判斷,如果目標敵對/是NPC/沒有目標/是沒藍職業都給自己使用激活;如果目標是有藍職業則
給對放激活。使用完激活自動返回上壹目標。
/script x=UnitClass("target");if (not UnitIsFriend("player","target") or (UnitManaMax
("target")<200 and x~="Druid")) then TargetUnit("player");end;CastSpellByName("激
活");TargetLastTarget();
3、自然迅捷+治療之觸:
只需要按壹下,但是偶爾也需要2下(比如延遲高)。(light_arm 修改)
/script SpellStopCasting()
/施放 自然迅捷
/script SpellStopCasting()
/施放 治療之觸(等級 11)
4、回春術+迅捷治愈:
有回春效果則放迅捷治愈,沒有則放回春.
/Script x=1;found=0;while(UnitBuff("target",x)) do if(string.find(UnitBuff("target",x),"Rejuvenation"))then found=1;end;x=x+1;end;
/Script if(found==1)then CastSpellByName("迅捷治愈");else CastSpellByName("回春術(等級 11))")end
5、治療之觸:
(1)根據目標血量判斷是使用最大等級的治療之觸,還是刷4級觸(去血少於1200)。
/cast 治療之觸
/script if UnitIsFriend("Player","target") then if UnitAffectingCombat("target") then if
((UnitHealthMax("target"))-(UnitHealth("target"))<1200) then CastSpellByName("治療之觸(等級 4)");end;end;elseif SpellIsTargeting() then TargetUnit("Player");end
(2)根據目標血量判斷使用哪個等級的治療之觸。
/script H=UnitHealthMax("target")-UnitHealth("target");S= {41,98,213,394,617,799,1004,1285,1621,2010,2496};
/script for j=11,1,-1 do if (H>=S[j]) then CastSpellByName("治療之觸(等級 "..j..")"); break;end;end;
6、回春術:
根據目標等級判斷使用哪個等級的回春術。
/script r=10;l={4,10,16,22,28,34,40,46,52,58};t=UnitLevel("target");for j=r,1,-1 do if (t>=l[j]-10) then CastSpellByName("回春術(等級 "..j..")");break;end;end
7、愈合:
根據目標等級判斷使用哪個等級的愈合。
/script r=7;l={12,18,24,30,36,42,48,54,60};t=UnitLevel("target");for j=r,1,-1 do if (t>=l[j]-10) then CastSpellByName("愈合(等級 "..j..")");break;end;end
8、驅毒:
在任何形態下變回人形,並給目標上驅毒。
/script local i,a,_;for i=1,GetNumShapeshiftForms() do _,_,a=GetShapeshiftFormInfo(i);if a then CastShapeshiftForm(i);break;end;end;
/cast 驅毒術
9、解除自身DEBUFF:
(妖術師金度制作)可解除自己身上的詛咒和中毒效果。
/script dbk={'Poison','Curse'}; spl={''驅毒術'',''解除詛咒''}; for m=0,31,1 do for n=1,2,1 do if GetPlayerBuffDispelType(GetPlayerBuff(m,'HARMFUL'))==dbk[n] then TargetUnit('player');CastSpellByName(spl[n]);TargetLastTarget();break;end;end;end;
平衡篇:
1、月火打圖騰:
搜索附近敵對圖騰,使用1級月火,之後自動返回上壹目標。
/Target 圖騰
/cast 月火術(等級 1)
/Script TargetLastEnemy()
2、樹皮+颶風:
判斷是否有樹皮,沒有則放樹皮,有則放颶風。簡而言之,點壹下是樹皮,2下是樹皮+颶風。
/script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff("player",x),"StoneClaw"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("颶風");else CastSpellByName("樹皮術")end
3、月火機關槍?:
(6樓light_arm 補充)
/script x=1;found=0;while(UnitDebuff("target",x)) do if(string.find(UnitDebuff("target",x),"Spell_Nature_StarFall"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("月火術(等級 9)");else CastSpellByName("月火術(等級 10)")end
狀態篇:
1、野性印記:
(1)根據目標等級判斷使用哪個等級的爪子。
/script r=7;l={1,10,20,30,40,50,60};t=UnitLevel("target");for j=r,1,-1 do if (t>=l[j]-10) then CastSpellByName("野性印記(等級 "..j..")");break;end;end
(2)自動搜索團隊內沒有野性印記的團隊成員,為其補上,掉線的,死亡的,不在視野內的都會忽略掉。(OBLIND制作)
/script local i,j,b,f,p;for i=1,40 do f=nil;p="raid"..i;if UnitIsVisible(p) then for j=1,16 do b=UnitBuff(p,j);if b and strfind(b,"Regen") then f=1;break;end;end;if not f then TargetUnit(p);CastSpellByName("野性印記");break;end;end;end;
2、荊棘術:
根據目標等級判斷使用哪個等級的荊棘。
/script r=6;l={6,14,24,34,44,54};if not UnitIsFriend("player","target")then TargetUnit
("player");end;t=UnitLevel("target");for j=r,1,-1 do if (t>=l[j]-10) then CastSpellByName("荊棘術(等級 "..j..")");break;end;end
特殊篇:
1、技能CD時間公告:
可以顯示任意技能的剩下的冷卻時間(自己調整):註:紅字:8是技能欄編號,使用這個宏前要先把想要顯示CD的技能放在壹個技能欄位上。具體鍵位編號見OBLIND的 [ .com/read.php?tid=678880 ]
/script a,d,e=GetActionCooldown(8);s=d-(GetTime()-a);q=string.format("%.f",s);
/script m=q/60;n=string.format("%d",m)
/script o=q-n60
/Script if a~=0 then SendChatMessage("技能名 CD時間:"..n.."分"..o.."秒","yell"); end
背面攻擊宏不用那麽麻煩
/施放 毀滅
/施放 撕碎
月火機關槍宏:
/script x=1;found=0;while(UnitDebuff("target",x)) do if(string.find(UnitDebuff("target",x),"Spell_Nature_StarFall"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("月火術(等級 9)");else CastSpellByName("月火術(等級 10)")end