當前位置:編程學習大全網 - 編程語言 - 獵豹編程貓

獵豹編程貓

XD常用宏~!

。/cast [nostealth]撕碎;撞見

2./cast [nostealth]斜掠;破壞

3.

/cancelaura[站位:1]巨熊形態;【站位:2】水生形態學;【站位:3】獵豹形態;【立場:4】出行方式;【姿態:5】moonkin形態;

/停止播放

/cast [target=player]回春術

其他常用宏:

首先,咬虎隱身宏:

#展示兇猛的撕咬(5級)

/cast [nostealth]潛行(等級3)

/cast【nostealth】猛咬(5級);[潛行]老虎之怒(等級4)

非戰鬥狀態下按潛行,潛行狀態下按虎撲,戰鬥狀態下猛咬。

二、突襲連招宏:

#顯示raid(第3級)

/cast sequence[無潛行]重置= 6/目標/戰鬥精靈之火(野)(4級)、裂傷(豹)(2級)、撕碎(5級)。

/cast[潛行] raid(等級3)

潛行狀態下,突擊仙靈火裂傷和撕碎依次連續施放。

三、沖鋒裂傷宏:

#顯示撕裂傷(熊)(2級)

/施放裂傷(熊)(2級)

/施放狂野沖鋒

遠距離壓制是沖鋒,近距離戰鬥是撕裂傷。

第四,去掉宏:

/停止播放

#展示部落徽章

/castsequence reset=60自然握(6級),解毒

/使用部落徽章

正常情況下,點開就是大自然的抓手。在自然之握的CD中,點擊為自己驅毒(開啟自施法),昏迷狀態下,點擊移除徽章。這個宏主要是針對小偷的。當人形受到偷襲時,立即按下這個宏可以讓妳處於更安全的狀態,可以根據情況補仙火。

比較所有小d的宏。

野生文章:

(1)熊形態

1,費用:

(1)判斷是否是熊/巨熊形態,如果不是,則改為熊再次沖鋒+咆哮;如果有,直接沖鋒+咆哮。

/script local c,s,I,f,n,a,_ = castspellbyname,"巨熊形態";對於i=1,GetNumShapeshiftForms() do _,n,a = GetShapeshiftFormInfo(I);如果n==s則斷開;結束;結束;如果a = = 1那麽if isactioninrange (34)那麽c("野充");Else c(“咆哮”);結束;否則c(s);結束;

註意:紅字:34是技能欄號。在使用這個宏之前,妳應該先在壹個技能欄(在壹些很少使用的鍵上)放上百搭電荷。參見[。具體鍵號的OBLIND的com/read.php?tid=678880 ]

(2)基本相同,但不咆哮。

/script local c,s,I,f,n,a,_ = castspellbyname,"巨熊形態";對於i=1,GetNumShapeshiftForms() do _,n,a = GetShapeshiftFormInfo(I);如果n==s則斷開;結束;結束;如果a==1那麽c(“野充”);否則c(s);結束;

(3)這在被飛機撞或者緊急情況下更有效。可以壹邊狂吼壹邊沖鋒。如果妳的怒氣大於35,就用它。

搖擺,揮霍,憤怒,憎恨。

/施放咆哮

/施放狂野沖鋒

/Script if(UnitMana(" Player ")& gt;35)然後CastSpellByName(" swing ");結束

2、討厭:

錘+揮出很多憤怒。如果目標不是小D或者戰士,就用咆哮。(OBLIND修改)

/script本地類,c = UnitClass("targettarget "),CastSpellByName如果class ~=“德魯伊”和class ~=“戰士”那麽c(“咆哮”);Else c(“木槌”);c(“搖擺”);結束;)然後CastSpellByName(“咆哮”);結束

3、攻擊+木槌:

(玩法補充)怒氣小於10時使用普通攻擊,否則使用木槌。

/script if(UnitMana(" player ")& lt;10)然後CastSpellByName("攻擊");else CastSpellByName(" mallet ")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,"巨熊形態";對於i=1,GetNumShapeshiftForms() do _,n,a = GetShapeshiftFormInfo(I);如果n==s則斷開;結束;結束;如果a==1,則使用ContainerItem(0,1);否則c(s);結束;

(2)貓形態

1,cat形式的常見攻擊宏:

通常使用爪擊,連擊點大於等於3點(即“3星”)時使用猛咬。

/script if(getcomboboints()& gt;= 3)然後CastSpellByName("猛咬");else CastSpellByName

(“爪擊”)結束

2、貓形手宏(隱身):

在潛行的情況下,破壞雙手,然後檢查對方身上是否有仙火。如果沒有,就去找最後壹個,如果有,就去抓。

/施放毀滅

/施展爪擊術

/script x = 1;發現= 0;while(UnitDebuff("target ",x)) do if(string.find(UnitDebuff

(" target ",x)," Spell_Nature_FaerieFire "))然後發現= 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspelbyname("爪擊");Else CastSpellByName("精靈之火(野性)")end

3、背部攻擊宏:

先判斷,能用就用破壞,用不了就撕。

/script x = 1;發現= 0;while(UnitBuff("player ",x)) do if(string.find(UnitBuff

(“玩家”,x),“埋伏”))然後發現= 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspelbyname(" destruction ");Else CastSpellByName("切碎")結束

4、隱身+raid:

先判斷壹下,處於潛行狀態的就突襲,否則就潛行。

/script x = 1;發現= 0;while(UnitBuff("player ",x))do if(string . find(unit buff(" player ",x),"埋伏"))then found = 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspelbyname(" raid ");Else CastSpellByName ("stealth ")結束

5.爪擊+粉碎:

能量大於等於60時使用撕碎,小於60時使用爪擊。通常用於BOSS戰DPS。

/Script if(UnitMana(" Player ")& gt;=60)然後CastSpellByName(" Shred ");Else CastSpellByName("爪擊")結束

6、攻擊+利爪:

(玩補)能量小於37就正常攻擊,大於37就爪擊。

/script if(UnitMana(" player ")& lt;37)然後CastSpellByName("攻擊");Else CastSpellByName("爪擊")結束

7.raid+掃描:

如果妳偷偷摸摸,就用突然襲擊,否則就用橫掃。

/script x = 1;發現= 0;while(UnitBuff("player ",x))do if(string . find(unit buff(" player ",x),"埋伏"))then found = 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspelbyname(" raid ");Else CastSpellByName ("sweep ")結束

8、貓形態+兇猛偶像:

人形按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,"獵豹形式";對於i=1,GetNumShapeshiftForms() do _,n,a,s = GetShapeshiftFormInfo(I);如果n==s則斷開;結束;結束;如果a==1,則使用ContainerItem(0,2);否則c(s);結束;

(3)任何形式的普遍性

1,人形宏:

判斷是否不是人形,然後還原人形。可以以任何形式使用。

/script local i,a,_;對於i=1,GetNumShapeshiftForms() do _,_,a = GetShapeshiftFormInfo(I);如果壹個then CastShapeshiftForm(I);打破;結束;結束;

恢復文章:

1,樹皮+寧靜:

判斷有沒有樹皮,沒有就放樹皮,有就放和平。簡而言之,壹次點擊是樹皮,兩次點擊是樹皮+寧靜。

/script x = 1;發現= 0;while(UnitBuff("player ",x))do if(string . find(unit buff(" player ",x)," stone claw)))then found = 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspelbyname(" Quiet(3級)");Else CastSpellByName(“樹皮藝術”)結束

2.激活:

先判斷,如果目標是敵對/NPC/無目標/無藍職業,對自己使用激活;如果目標是有壹個藍色的職業生涯,那麽

啟動平衡器。使用激活後自動返回上壹個目標。

/script x = unit class(" target ");if(非UnitIsFriend("player "," target ")或(UnitManaMax

(“目標”)& lt200和x~= "德魯伊"))然後TargetUnit("玩家");結束;CastSpellByName("震驚

live”);targetlastarget();

3、自然快速+治療觸摸:

按壹次就好,偶爾2次(比如延時高)。(輕_臂修改)

/script SpellStopCasting()

/施展天生的敏捷

/script SpellStopCasting()

/施展治療之觸(等級11)

4、返老還童+快速治愈:

如果有返老還童的效果,就很快治好,如果沒有,就返老還童。

/Script x = 1;發現= 0;while(UnitBuff("target ",x))do if(string . find(unit buff(" target ",x)," Rejuvenation)))then found = 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspelbyname(" quick cure ");Else CastSpellByName("返老還童(等級11))")end

5、觸摸治療:

(1)根據目標血量,判斷是使用最高等級的治療觸還是刷4級觸(除血小於1200)。

/施展治療之觸

/script if UnitIsFriend("Player "," target ")then if unitaffecting combat(" target ")then if

((UnitHealthMax(" target "))-(UnitHealth(" target "))& lt;1200)然後CastSpellByName("治療之觸(4級)");結束;結束;else if spellistarging()then target unit(" Player ");結束

(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 & gt;=S[j])然後CastSpellByName("治療觸摸(等級"...j...")");打破;結束;結束;

6、返老還童:

根據目標等級判斷使用哪個等級的再生。

/script r = 10;l = { 41016,22,28,34,40,46,52,58 };t = unit level(" target ");對於j=r,1,-1 do if(t & gt;= l [j]-10)然後castspellbyname("返老還童(等級"...j”)”);打破;結束;結束

7.愈合:

根據目標等級判斷使用哪個等級的治療。

/script r = 7;l={12,18,24,30,36,42,48,54,60 };t = unit level(" target ");對於j=r,1,-1 do if(t & gt;= l [j]-10)然後castspellbyname("治療(等級"...j...")");打破;結束;結束

8、驅毒:

以任何形態變回人形,並驅逐目標身上的毒素。

/script local i,a,_;對於i=1,GetNumShapeshiftForms() do _,_,a = GetShapeshiftFormInfo(I);如果壹個then CastShapeshiftForm(I);打破;結束;結束;

/施法解毒

9.移除您自己的DEBUFF:

(術士金都制造)可以解除對自己的詛咒和毒害作用。

/script dbk={ '毒藥','詛咒' };Spl={ ''排毒'',' '除咒' ' };for m=0,31,1 do for n=1,2,1 do if GetPlayerBuffDispelType(GetPlayerBuff(m,'有害')= = dbk[n]then target unit(' player ');CastSpellByName(spl[n]);targetlastarget();打破;結束;結束;結束;

余額文章:

1,月火圖騰:

搜索附近的敵對圖騰,使用1月火,然後自動回到之前的目標。

/目標圖騰

/施放月火(等級1)

/Script targetlastmenemy()

2、樹皮+颶風:

判斷有沒有樹皮,沒有就放樹皮,有就放颶風。簡而言之,壹次點擊是樹皮,兩次點擊是樹皮+颶風。

/script x = 1;發現= 0;while(UnitBuff("player ",x))do if(string . find(unit buff(" player ",x)," stone claw)))then found = 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspelbyname(" hurricane ");Else CastSpellByName(“樹皮藝術”)結束

3.月火機槍?:

(6樓燈光_手臂補充)

/script x = 1;發現= 0;while(UnitDebuff("target ",x))do if(string . find(UnitDebuff(" target ",x)," Spell _ Nature _ StarFall "))then found = 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspellbyname("月火(9級)");Else CastSpellByName("月火(10級)")end

狀態文章:

1,百搭標誌:

(1)根據目標等級確定使用哪個等級的爪子。

/script r = 7;l={1,10,20,30,40,50,60 };t = unit level(" target ");對於j=r,1,-1 do if(t & gt;= l [j]-10)然後castspellbyname("通配符(等級"...j...")");打破;結束;結束

(2)自動搜索沒有野標的隊員,補上。那些被扔下的,死了的,看不見的,都會被忽略。(奧布林德制造)

/script local i,j,b,f,p;對於i=1,0,40 do f = nilp="raid "..我;如果UnitIsVisible(p)那麽對於j=1,16做b=UnitBuff(p,j);如果b和strfind(b,“Regen”)那麽f = 1;打破;結束;結束;如果不是f,那麽target unit(p);CastSpellByName("百搭標誌");打破;結束;結束;結束;

2、荊棘:

根據目標等級判斷用哪個等級的荊棘。

/script r = 6;l={6,14,24,34,44,54 };如果不是UnitIsFriend("player "," target "),那麽TargetUnit

(“玩家”);結束;t = unit level(" target ");對於j=r,1,-1 do if(t & gt;= l [j]-10)然後castspellbyname("荊棘技能(等級"...j...")");打破;結束;結束

特別文章:

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如果a ~ = 0,則發送聊天消息("技能名稱CD時間:"...n..."分鐘"...o...“秒”、“吼”);結束

從後面攻擊宏就沒那麽麻煩了。

/施放毀滅

/鑄造碎片

月火機槍宏:

/script x = 1;發現= 0;while(UnitDebuff("target ",x))do if(string . find(UnitDebuff(" target ",x)," Spell _ Nature _ StarFall "))then found = 1;結束;x = x+1;結束;

/script if(found = = 1)thencasspellbyname("月火(9級)");Else CastSpellByName("月火(10級)")end

  • 上一篇:C++怎麽發郵件
  • 下一篇:多個免費學習網站
  • copyright 2024編程學習大全網