文字檔

*********************************
一般巨集:
*********************************

巨集1:

/script b=UnitCreatureFamily("pet");c=CastPetAction;d=UnitName("target").." is being SEDUCED <3 <3";if b=="魅魔" then PetAttack();c(6);SendChatMessage(d,"PARTY");CastSpellByName("暗影詛咒");elseif b=="地獄犬" then c(4);end

判斷你的寵物是什麼!
如果是 魅魔 就叫它執行 "魅惑",同時間,你上"暗影詛咒"(另外也會在 隊伍頻道上 自動發言 魅惑 字樣。
如果是 小狗 就叫它執行 消debuff

巨集2:

/script b=UnitCreatureFamily("pet");c=CastPetAction; if b=="魅魔" then ClearTarget();c(6);TargetLastEnemy(); elseif b=="地獄犬" then c(6);end

和上面一樣~不同的是, 魅惑後,不上 暗影詛咒。
並且會切換到,你上一隻怪(方便控場技)。

巨集3:

/script PetAttack();
/script if (UnitHealth("target")<90) then CastSpellByName("魯莽詛咒") else CastSpellByName("痛苦詛咒") end;

pet 攻擊~
並判斷 目標血量少了90%的話,上 魯莽詛咒,否則就上 痛苦詛咒 (防敵人逃跑的macro)


巨集4:

/script z=0;for i=1,16,1 do UnitDebuff("target", i);GameTooltip:SetUnitDebuff("target",i);if GameTooltipTextLeft1:GetText()=="生命虹吸" then z=1;end;end;if z==1 then TargetNearestEnemy();else CastSpellByName("生命虹吸");end;

團p時,特別好用的macro
判斷目標是否已上 生命虹吸,如果有自動找下一個最近的目標來 上 debuff。


巨集5:

/script x=CastSpellByName;z=0;for i=1,16,1 do UnitDebuff("target", i);GameTooltip:SetUnitDebuff("target",i);if GameTooltipTextLeft1:GetText()=="暗影詛咒" then z=1;end;end;if z==1 then x("奴役惡魔");else x("暗影詛咒");end;

奴役惡魔專用macro~
在奴役惡魔前,先上 暗影詛咒,再上奴役。

巨集6:

/script z=0;for i=1,16 do UnitBuff("player", i);GameTooltip:SetUnitBuff("player",i);if GameTooltipTextLeft1:GetText()=="暗影冥思" then z=1;end;end;if z==1 then CastSpellByName("暗影箭");else CastSpellByName("灼熱之痛");end;

簡單的巨集,也是pvp在用,判斷你是否進入 夜幕,如果有就放 暗影箭,沒有就放 灼熱之痛


巨集7:

/script z=0;for i=1,16,1 do UnitDebuff("target", i);GameTooltip:SetUnitDebuff("target",i);if GameTooltipTextLeft1:GetText()=="獻祭" then z=1;end;end;if z==1 then CastSpellByName("引爆");else CastSpellByName("獻祭");end;

判斷目標是否已上獻祭,如果已上,那就執行 引爆。

巨集8:

/party 魅惑目標: %T - 請不要,打它! <3 <3
/script PetAttack();CastPetAction(6);
/cast 暗影詛咒(等級 2)

魅惑目標前,先提醒隊友,之後魅惑後,又上暗影詛咒!


巨集9:

/script msg = "魅惑中! 請不要打它 <3 <3";a=SendChatMessage;b=UnitName;c="target";if GetNumRaidMembers >0 then a(b(c)..msg, "RAID");else a(b(c)..msg, "PARTY"); end PetAttack();CastPetAction(6);
/cast 暗影詛咒(等級 2)

同上功能,不同的是,此巨集較好,自動會判斷是在 raid 還是 party。


巨集10:

/script TargetUnit("player"); CastPetAction(4); TargetLastEnemy();

地獄犬的巨集,叫地獄犬除去自已身上的 debuff,並且不會打斷你目前的目標。

巨集11:

/script if (UnitCreatureFamily("pet") == "地獄犬") then TargetUnit("player");CastPetAction(4);TargetLastEnemy();end

地獄犬的巨集,叫地獄犬除去目標身上的 debuff,並且不會打斷你目前的目標。


巨集12:

/script if HasSoulLink("player") then CastSpellByName("吸取生命"); else CastSpellByName("靈魂連結"); end

如果你有靈魂連結了,就放 生命虹吸 不然就放 靈魂連結。

巨集13:

/script a="player";b=CastSpellByName; c=UnitHealth(a)/UnitHealthMax(a);d=UnitMana(a)/UnitManaMax(a);if (c>0.80 and d<0.88) then b("生命分流");else b("吸取生命");end

如果你的生命值 > 80%以上,則執行 生命分流,否則就 放目標 吸取生命。

巨集14:

/script f=UnitMana;g=UnitManaMax;a="player";b=CastSpellByName;c=UnitHealth(a)/UnitHealthMax(a);d=f(a)/g(a);e=f("pet")/g("pet");if c>0.80 and d<0.88 then if e>0.90 then b("黑暗契約");else b("生命分流");end else b("吸取生命");end

和上述一樣,不同的是又加上了"黑暗契約"的判斷,如果 寵物的 mp >80% 以上就 施展 黑暗契約。

巨集15:

/script if (UnitLevel("target")>59) then CastSpellByName("奴役惡魔") elseif (UnitLevel("target")>45) then CastSpellByName("奴役惡魔") else CastSpellByName("奴役惡魔") end;

奴役惡魔,會自動判斷 目標(惡魔的等級) 來決定施放 奴役法術的等級!

巨集16:

/script if (UnitMana("player")>369) then CastSpellByName("暗影箭") else CastSpellByName("射擊") end;

判斷你的mp是否 > 369 (數字自填) ,是的話就放,不足的話,就 射魔杖。

巨集17:

/script if (UnitMana("target")>0) then CastSpellByName("語言詛咒") else CastSpellByName("虛弱詛咒") end;
/script CastPetAction("6");

判斷目標是否為 法師類或戰士類,來上語言或虛弱。


巨集18:

/script if ((UnitPowerType("target")==0) and (UnitMana("target")>0)) then CastSpellByName("語言詛咒") else CastSpellByName("痛苦詛咒") end;

判斷目標是否為 法師類或戰士類,來上語言或痛苦。


巨集19:

/script PetAttack();
/script if (UnitHealth("target")<50) then CastSpellByName("魯莽詛咒") else if (UnitMana("target")>0) then CastSpellByName("語言詛咒") else CastSpellByName("暗影詛咒") end end;

如果目標 血 <50% 就上 魯莽詛咒 不然再判斷 是否為 法師類,是的話 上 語言,不是就上 暗影。


巨集20:

/script PetAttack();
/script if (UnitHealth("target")<50) then CastSpellByName("魯莽詛咒") else CastSpellByName("痛苦詛咒") end;

如果目標 hp < 50% 就上 魯莽詛咒 不然就上 痛苦詛咒


巨集21:

/script local a=CastSpellByName;local b=UnitMana("player");if b>369 then a("暗影箭(等級 9)");elseif b>314 then a("暗影箭(等級 8)");elseif b>264 then a("暗影箭(等級 7)");elseif b>209 then a("暗影箭(等級 6)");else a("shoot");end

依據你目前的mp量來決定 施放暗影箭的 等級(不錯,好用) ( MANA 數字自行決定)

巨集22:

/script z=0;for i=1,16,1 do UnitDebuff("target", i);GameTooltip:SetUnitDebuff("target",i);if GameTooltipTextLeft1:GetText()=="腐蝕術" then z=1;end;end;if z==1 then CastSpellByName("痛苦詛咒");else CastSpellByName("腐蝕術");end;

術士最常用的二個 dot,把它 整合成一個鈕,它會先上 腐蝕,再上痛苦~
讓你再也不手忙到打結了!

*********************************
進階巨集:
*********************************

注意!!!此區的巨集全部都須先 執行此 macro來找出 id 數字!
首先,增強的那種技能~ 像是 增強詛咒、邪惡控制等等,我們必須先找出 它在遊戲中的id(註:每人都會不一樣!原因在於每人習得技能的先後順序不同)
以下為找出id的方法!

/script for id = 1, 180, 1 do local spellName, subSpellName = GetSpellName(id, SpellBookFrame.bookType);if spellName and string.find(spellName, "詛咒增幅", 1, true) then ChatFrame1:AddMessage("ID is "..id, 1.0, 1.0, 0.5); end; end;

在上面的 "詛咒增幅" 中,代表我要找"詛咒增幅"的 id …如果 填入"邪惡控制"就代表要找它的 id。
找到 id 後,才能在下面的 macro 中 填入,你所找到的id 數字!


巨集1:

/script g=GetSpellCooldown(id, SpellBookFrame.bookType); if (g <= 0) then CastSpellByName("詛咒增幅"); else CastSpellByName("疲勞詛咒"); end

簡單的macro,如果你有點出 增強詛咒的話,會先判斷 增強詛咒 是否 能用了(冷卻時間到了),
能用的話,就先放 增強詛咒,之後下一次再放 疲勞詛咒。


巨集2:

/script g=GetSpellCooldown(id, SpellBookFrame.bookType); if (g <= 0) then CastSpellByName("詛咒增幅"); else CastSpellByName("痛苦詛咒"); end

同上,如果你有點出 詛咒增幅,會先判斷 詛咒增幅是否 能用了(冷卻時間到了),
能用的話,就先放 詛咒增幅,之後下一次再放 痛苦詛咒。

巨集3:

/script local a=CastSpellByName;g=GetSpellCooldown(id, SpellBookFrame.bookType);if UnitCreatureFamily("pet") == "虛空行者" then CastPetAction(5); else if g<=0 then a("邪惡控制");else a("召喚 虛空行者");end

專門為走惡魔系的人所寫的macro,如果有寵物就犧牲,下一次重召時,如果你的 邪惡控制 cd 到了,
就先放 邪惡控制 再召喚。

 


************************************************
以下為突破 256 字的,super macro
必須先安裝此 addons 位址:
http://www.curse-gaming.com/mod.php?addid=629


*** 進階macro 1:

以下包含6個macro

主要 macro~
macro的名稱: GB
/script a=0;b=0;c=0;d=0;e=0;f=0;LD=292;LT=364;RunMacro("GS1");RunMacro("GS2");RunMacro("GS3");RunMacro("GC1");RunMacro("GC2");

第二 macro~
macro的名稱: GS1
/script if (UnitHealth("target")>50) then a=1;b=1;c=1;end;x=UnitHealthMax("player")-UnitHealth("player");y=UnitManaMax("player")-UnitMana("player");if x>LD then e=1 else if y>LT then f=1;end;end;

第三 macro~
macro的名稱: GS2
/script for i=1,16,1 do UnitDebuff("target", i);GameTooltip:SetUnitDebuff("target",i);g=GameTooltipTextLeft1:GetText();if g=="獻祭" then a=0;end;if g=="腐蝕術" then b=0;end;if g=="痛苦詛咒" then c=0;end;end;

第四 macro~
macro的名稱: GS3
/script for i=1,16,1 do UnitBuff("player", i);GameTooltip:SetUnitBuff("player",i);if GameTooltipTextLeft1:GetText()=="暗影冥思" then d=1;end;end;

第五 macro~
macro的名稱: GC1
/script h=0;if a==1 then CastSpellByName("獻祭");PetAttack();h=1; else if b==1 then CastSpellByName("腐蝕術");h=1; else if c==1 then CastSpellByName("痛苦詛咒");h=1;end;end;end;

第六 macro~
macro的名稱: GC2
/script if h==0 then if d==1 then CastSpellByName("暗影箭") else if e==1 then CastSpellByName("吸取生命") else if f==1 then CastSpellByName("生命分流") else CastSpellByName("暗影箭");end;end;end;end;

你只需要 把主要的 macro 那個拉到快速鍵就行了!
上述macro 執行功能如下:
1) 如果目標沒有 debuff "獻祭" 而且 血量 > 50% 的話,施展 獻祭 (並且寵物攻擊)
2) 如果目標沒有 debuff "腐蝕術" 而且 血量 > 50% 的話,施展 腐蝕術
3) 如果目標沒有 debuff "痛苦詛咒" 而且 血量 > 50% 的話, 施展 痛苦詛咒
4) 如果我進入 "夜幕" 的話, 施展 暗影箭
5) 如果我血差全滿有 XXX 的血的話, 施展 吸取生命
6) 如果我法力差全滿有 YYY 的話, 施展 生命分流
7) 都有沒符合以上施展 ( 暗影箭)

 

*** 進階macro 2:

主要 macro~

macro的名稱: mainZ
/script RunMacro("z1");RunMacro("z2");RunMacro("z3");RunMacro("z4");

第一 macro~
macro的名稱: z1
/script ago=false;cor=false;sip=false;class=UnitClass("target");player=UnitIsPlayer("target")

第二 macro~
macro的名稱: z2
/script local i,l;for i=1,16,1 do GameTooltip:SetUnitDebuff("target",i);l=GameTooltipTextLeft1:GetText();if l=="痛苦詛咒" then ago=true;elseif l=="腐蝕術" then cor=true;elseif l=="吸取生命" then sip=true;end;end;

第三 macro~
macro的名稱: z3
/script if ( class == "牧師" or class == "聖騎士" ) and ( player ) then cor=true;sip=true;elseif ( class == "法師" or class == "德魯依" ) and ( player ) then ago=true;end

第四 macro~
macro的名稱: z4
/script if sip==false then CastSpellByName("吸取生命");elseif cor==false then CastSpellByName("腐蝕術");elseif ago==false then CastSpellByName("痛苦詛咒");else TargetNearestEnemy();end;

你只需要 把主要的 macro ( mainZ) 那個拉到快速鍵就行了!

主要先判斷職業,如果是"牧師"或"聖騎士",上 痛苦詛咒,
如果是"法師"或"德魯依",上"吸取生命" 和 "腐蝕術"。 


-------------2005.NOV.03修改--------------
巨集4、5、7、22,進階macro 1->第三 macro~, 第四 macro~的for迴圈都漏掉",1 "的部分
補上

-------------2005.DEC.08增加--------------

/script l=UnitLevel("target")
/script h=UnitHealth("target")
/script s=SendChatMessage
/script if l<0 then s("發現目標:%t".." LV??逃命","GUILD"); else s("發現目標:%t".." LV"..l..",HP"..h.."%","GUILD"); end


隊伍:PARTY
公會:GUILD

這巨集是我用來顯示點到的目標等級和有血量的%數用的

文字檔


arrow
arrow
    全站熱搜

    both2992 發表在 痞客邦 留言(1) 人氣()