-
感谢猪小小友情提供
/script En=Na(T) if Na("pet")=="迪斯奥拉" then S("我的魅魔和"..En.."搞上了,大家眼观手勿动@_@") elseif Na("pet")=="卡弗姆" then if D("player",1) then TargetUnit("player") end end /script if Na("pet")=="鲁尔洛特" then AssistUnit(T) end CastPetAction(6) TargetLastEnemy()
迪斯奥拉是我魅魔的名字,卡弗姆是我地狱猎手的名字,鲁尔洛特是我小鬼的名字。你换成你的宝宝名称就行了。
别忙,因为字符限制问题,所以采用了自定义函数和全局变量。
/script function D(a,b) return UnitDebuff(a,b) end function Na(a) if UnitName(a)~=nil then return UnitN... -
Recently Added Macros:
21st June 2005:Announcing our first of many MEGAMACROS! Using the addon SuperMacro (linked above), we can now split our macros into multiple /script commands (each /script is still limited to 255 character) and run them all.
Thanks Daemorius for the original Megamacro request (and some help) and Revenant for helping me iron out the bugs with some testing and his own macro skills.
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 w... -
/script
if (UnitMana("target")>0) then
CastSpellByName("Curse of Tongues(Rank 2)")
else if (GetNumPartyMembers() > 0) then
CastSpellByName("Curse of Shadow(Rank 2)")
else CastSpellByName("Curse of Agony(Rank 6)")
end end; -
/script
if (UnitMana("player")>363) then
if (UnitHealth("target")>10) then
CastSpellByName("Shadow Bolt(Rank 9)")
else
CastSpellByName("Shadowburn(Rank 6)") end
else
CastSpellByName("Shoot") end;
注意:当暗影燃烧CD时会出问题 -
/script CastPetAction(6)
-
/script
if (UnitMana("target")>0) then
CastSpellByName("Curse of Tongues(Rank 2)")
else if (GetNumPartyMembers() > 0) then
CastSpellByName("Curse of the Elements(Rank 3)") else
CastSpellByName("Curse of Agony(Rank 6)")
end
end; -
/script if (UnitMana("target")>0) then CastSpellByName("痛苦诅咒(等级 X)") else
CastSpellByName("虚弱诅咒(等级 X)") end; -
/script PetAttack();
/施放 腐蚀术(等级 X) -
/script if (UnitHealth("target")>20) then CastSpellByName("吸取生命(等级 X)") else
CastSpellByName("吸取灵魂(等级 X)") end;
共1页 1







