o獵人標記後寵物攻擊
/cast Aspect of the Monkey
/script PetAttack();
/script AttackTarget();
?餵食寵物
/script if (not PlayerFrame.inCombat) then if (not GetContainerItemLink(4, 1)) then OpenBag(4); else CastSpellByName("Feed Pet"); PickupContainerItem(4, 1); end end
?牧師
/script if (UnitName("target") ~=nil and UnitInParty("target")) then CastSpellByName("Power Word: Shield(Rank 1)") else TargetUnit("player") CastSpellByName("Power Word: Shield(Rank 1)") TargetLastEnemy(); end;
o切換第四包包的第一個武器
/script PickupContainerItem(4, 1);
/script -- 1H weapon now on cursor.
/script PickupInventoryItem(16);
/script -- 1H weapon now equipped, 2H weapon on cursor.
/script PickupContainerItem(4, 3);
/script -- 2H weapon in inventory, no item on cursor.
/script PickupContainerItem(4, 2);
/script -- offhand item on cursor.
/script PickupInventoryItem(17);
/script -- off hand item now equipped, no item on cursor.
o切換第四包包的第一個武器
/script PickupInventoryItem(17);
/script -- off hand item now on cursor.
/script PickupContainerItem(4, 2);
/script -- off hand item now in inventory
/script PickupContainerItem(4, 3);
/script -- 2H weapon now on cursor.
/script PickupInventoryItem(16);
/script -- 1H weapon now on cursor, 2H weapon equipped
/script PickupContainerItem(4, 1);
/script -- 1H weapon now in inventory, no item on cursor.
x目標有腐蝕術就使用痛苦詛咒,若否則使用腐蝕術
/Script
for i=1,8 do
UnitDebuff("Target", i);
GameTooltip:SetUnitDebuff("Target",i);
if GameTooltipTextLeft1:GetText()=="腐蝕術" then
CastSpellByName("痛苦詛咒(等級 3)") else CastSpellByName("腐蝕術(等級 3)")
end;
o痛苦+魯莽+語言
假如目標為法師系則使用語言詛咒,若目標血量血量大於30%則使用痛苦詛咒,以上都不相符合則使用魯莽詛咒
/Script if(UnitMana("Target")>0) then CastSpellByName("語言詛咒(等級 1)") else if (UnitHealth("Target")>30) then CastSpellByName("痛苦詛咒(等級 1)") else CastSpellByName("魯莽詛咒(等級 2)") end end;
o命法魂
假如目標血量少於10%則吸取靈魂,若目標為法師系則吸取法師,都不符合則吸取生命
/Script if(UnitHealth("Target")<10) then CastSpellByName("吸取靈魂(等級 2)") else if(UnitMana("Target")>0) then CastSpellByName("吸取法力(等級 1)") else CastSpellByName("吸取生命(等級 3)") end end;
?魅犬術
使用魅魔誘惑技能並通知隊友,地獄獵犬對自身如有Buff則吃之,若無則對選擇目標使用
/Script B=UnitName("Pet") C=CastPetAction T=TargetLastEnemy; U=TargetUnit;
/Script if B=="瑟爾艾斯" then C(6); SendChatMessage("%T誘惑勿打","Party");T(); else if B=="胡哈姆" then if UnitDebuff("Player",1) then U("Player");C(6);T(); else U("Target");C(6); end end end