Announcing our first of many MEGAMACROS! Using the addon SuperMacro (http://www.curse-gaming.com/mod.php?addid=629), we can now split our macros into multiple /script commands (each /script is still limited to 255 character) and run them all.
This is a smart megamacro - it will cast Siphon Life, Corruption, and Curse of Agony in that order if those debuffs are not found on your target. In addition, if your target is dispelling class (priest or paladin), it will only cast the curse. Also, if your target is a curse curing class, it will only cast the magic debuffs.
Unfortunately, there’s no way to know if the debuff it found was yours, so if 2 warlocks are dot’ing the same target, the macro assumes the debuffs are yours and doesn’t try to stack them.
Make seperate macros for each /script command, and name them z1, z2, z3, and z4 respectively. You then drag the last macro onto your UI and activate that one.
制作其它的宏都要使用/script命令,并且分别对他们命名就如z1,z2,z3,z4。你可以在你的插件里托动the last macro(最后?最近?的宏)并且去激活它们。
(another minor update - TargetLastEnemy() can be used to recover your target if you command your pet to reseduce when you have no target. 一个小小的更新 - “TargetLastEnemy()”能够被用来恢复你选择的目标假如你命令你的宝宝去reseduce(我不知道这是什么意思=.=!但我猜测是自动选择)当你没有目标时。(乱啊~我的理解是有个更新是关于“TargetLastEnemy()”它能够用来选择你最后一个敌人……那位达人帮忙翻下) This is an update to the original Seduce macro. If you have a succubus out, it will PetAttack (so we can assist again later), start casting Seduction, and cast Curse of Shadow (rank 2). If you have the Felhunter out, it will Devour Magic on your target. There may be times when you want to devour your enemy, there may be times you want to devour yourself.. I figured I’d leave it up to the user to hit F1 to target himself if required (I also ran out of space :P).
/script b=UnitCreatureFamily("pet"); --对 变量“b” 赋值为 “自己的宠物” c=CastPetAction; --对 变量“c” 赋值为 “宠物技能” d=UnitName("target").." is being SEDUCED <3 <3"; --对 变量“d” 赋值为 “目标..正在被媚惑” if b=="Succubus" then --假如 变量“b” 等于 媚魔(就是说召唤的宠物是媚魔)那么 PetAttack(); --宠物攻击目标 c(6); --使用第6个技能,我猜应该是媚惑,我的10级术士虚空任务刚接…… SendChatMessage(d,"PARTY"); --在队伍频道输出 变量“d” 什么效果不用我说了吧 CastSpellByName("Curse of Shadow(rank 2)"); --使用技能 2级 暗影诅咒 else --否则 if b=="Felhunter" then --判断假如 变量“b” 等于 地狱犬 那么 c(4); --[[宠物使用第4个技能,谁能告诉我第4个是什么技能如果知道第4个技能那么那几句英文应该猜的出来了]] end; end;
--[[一段根据召唤的宠物使用不同的技能并且在队伍频道告诉其他人。比起那段英文容易多了]]
This is an update to the re-seduce macro. If you have the Succubus out, it will assist her, then start casting Seduction again, then TargetLastEnemy. If you have the Felhunter out, it will spell lock your target.
/script PetAttack(); /script if (UnitHealth("target")<90) then CastSpellByName("Curse of Recklessness(Rank 1)") else CastSpellByName("Curse of Agony(Rank 4)") end;
--[[太简单了我不解释了自己看"Curse of Recklessness(Rank 1)" 1级 鲁莽诅咒,"Curse of Agony(Rank 4)" 4级 痛苦诅咒]]
16th May 2005: 2005年5月16日
PVP macro: Scan current target for Siphon Life, cast it if it’s not present, if it is, try to target another enemy. pvp 宏:分析目标目前是否适合使用生命虹吸,如果目标没有生命虹吸就对它使用,假如目标已经有了就选择另外一个敌人。
/script z=0; for i=1,16 do UnitDebuff("target", i); GameTooltip:SetUnitDebuff("target",i); if GameTooltipTextLeft1:GetText()=="Siphon Life" then z=1; end; end; if z==1 then TargetNearestEnemy(); else CastSpellByName("Siphon Life(Rank 4)"); end;
--同样简单具体自己分析,我说下它的功能根据目标的debuff来判断施放使用4级 生命虹吸。
Curse of Shadow, then Enslave Demon.
暗影诅咒,并且奴役恶魔。
/script x=CastSpellByName; z=0; for i=1,8 do UnitDebuff("target", i); GameTooltip:SetUnitDebuff("target",i); if GameTooltipTextLeft1:GetText()=="Curse of Shadow" then z=1; end; end; if z==1 then x("Enslave Demon(Rank 3)"); else x("Curse of Shadow(Rank 2)"); end;
--实现的方法同上一个自己分析吧"Enslave Demon(Rank 3)" 3级 奴役恶魔,"Curse of Shadow(Rank 2)" 2级 暗影诅咒
13th May 2005: 2005年5月13日
Searing Pain macro that check to see if Nightfall/Shadow Trance has proceed and if so cast Shadow Bolt. 灼热之痛的宏检查是否有黑夜降临/暗影状态就继续并且使用暗影箭
/script z=0; for i=1,16 do UnitBuff("player", i); GameTooltip:SetUnitBuff("player",i); if GameTooltipTextLeft1:GetText()=="Shadow Trance" then z=1; end; end; if z==1 then CastSpellByName("Shadow Bolt(Rank 9)");暗影箭 else CastSpellByName("Searing Pain(Rank 6)");灼热之痛 end;
Today’s macros are new and untested. Please post feedback. :)
今天的宏是新的没有没有被测试过,请各位告诉我效果如何。:)
--[[This is an update to Yvero’s conflagrate else Immolate macro. Please note this is experimental and I need to know if using GameTooltip in this way has any adverse effect on tooltips in game.
/script z=0; for i=1,16 do UnitDebuff("target", i); GameTooltip:SetUnitDebuff("target",i); if GameTooltipTextLeft1:GetText()=="Immolate" then z=1; end; end; if z==1 then CastSpellByName("Conflagrate(Rank 4)"); else CastSpellByName("Immolate(Rank 7)"); end;
/script local e, f, g = GetSpellCooldown(16, SpellBookFrame.bookType); if (f<= 0) then CastSpellByName("Amplify Curse"); else CastSpellByName("Curse of Exhaustion"); end
Fel Domination/Summon Voidwalker/Sacrifice Voidwalker macro (updated)
邪恶控制、召唤、控制虚空,牺牲虚空的宏(更新过)
/script local a=CastSpellByName; local e,f,g=GetSpellCooldown(16, SpellBookFrame.bookType); if UnitCreatureFamily("pet") == "Voidwalker" then CastPetAction(5); else if f<=0 then a("Fel Domination"); else a("Summon Voidwalker"); end; end;
NOTE: You MUST change the 16 in GetSpellCooldown to the index of Fel Domination. Every time you learn a new spell, you need to check if the index has incremented. In order to find the ID, execute the following macro:
/script for id = 1, 180, 1 do local spellName, subSpellName = GetSpellName(id, SpellBookFrame.bookType); if spellName and string.find(spellName, "Fel Domination", 1, true) then ChatFrame1:AddMessage("ID is "..id, 1.0, 1.0, 0.5); end; end;
NOTE2: Some people have reported problems with the Summon Voidwalker part of this macro. If you have this problem, please do the following to make it work:
注意2:有人告诉我一些问题是是关于召唤虚空的那段宏。 假如你也有这些问题请照着下面的去做:
Execute the following macro to determine the spell ID of Summon Voidwalker (note you’ll have to re-run this any time you learn a new spell as the ID may change).
执行判断 召唤虚空 技能编号的宏。 (注意你每次学了一个新的技能后这个编号都可能会改变)]]
/script for id = 1, 180, 1 do local spellName, subSpellName = GetSpellName(id, SpellBookFrame.bookType); if spellName and string.find(spellName, "Summon Voidwalker", 1, true) then ChatFrame1:AddMessage("ID is "..id, 1.0, 1.0, 0.5); end; end;
--[[Now you have the ID for Summon Voidwalker, replace the index 100 in the CastSpell function in the following macro with the ID in *your* spellbook (as above, you still need to change 16 to whatever the ID of Fel Domination is in your spellbook):
/script local a=CastSpellByName; local e,f,g=GetSpellCooldown(16, SpellBookFrame.bookType); if UnitCreatureFamily("pet") == "Voidwalker" then CastPetAction(5); else if f<=0 then a("Fel Domination"); else CastSpell(100, SpellBookFrame.bookType); end; end;
This macro scans your Spellbook and reports the ID of the spell you are interested in on your Main Chat frame. Replace Fel Domination with the spell whose index you are interested in.
这段宏是分析你所感兴趣的技能并在你的主聊天窗口里报告它的id。(后面那句翻不来)
/script for id = 1, 180, 1 do local spellName, subSpellName = GetSpellName(id, SpellBookFrame.bookType); if spellName and string.find(spellName, "Fel Domination", 1, true) then ChatFrame1:AddMessage("ID is "..id, 1.0, 1.0, 0.5); end; end;
PVP marco: Each press of this macro will scan your target for Corruption, if it’s not present, it will Cast Corruption(Rank 1), if it is present, it will TargetNearestEnemy (same as hitting TAB). This macro is based on one of Yvero’s macros. (updated with correct string)
2. Little DoTs like this drive rogues up the wall because they can’t stealth.
一些dots可以把盗贼逼出来,因此他们不再变得诡秘。
3. Nightfall proc chance :)
使用的过程中有机会出黑夜降临:)
/script z=0 for i=1,8 do t=UnitDebuff("target", i) if (t and string.find(t,"Spell_Shadow_AbominationExplosion")) then z=1 end; end; if z==1 then TargetNearestEnemy()else CastSpellByName("Corruption(Rank 1)") end;
Shadow bolt/Pet Attack/Dark Pact macro:
暗影箭/宠物攻击/黑暗契约 宏:
If you have an enemy target, when you hit this macro it will start casting shadow bolt and send in the pet. If you have no target and you hit this macro, it will Dark Pact your pet.