/script PetDefensiveMode()
/script if(UnitName("target")==nil) then TargetNearestEnemy() else
if(not UnitCanAttack("player","target")) then AssistUnit("target") else
if(not IsBuffActive(" 猎人印记 ","target")) then CastSpellByName("
猎人印记 ( 等级 3)") PetAttack() end end end
/script if(IsBuffActive(" 猎人印记 ","target")) then
PetAttack();end
/script if(IsBuffActive(" 猎人印记 ","target")) and (not
IsBuffActive(" 毒蝎钉刺 ","target")) then CastSpellByName("
毒蝎钉刺 ( 等级 3)"); end /script if(not IsAutoRepeatAction(40))
and (IsBuffActive(" 猎人印记 ","target")) then CastSpellByName("
自动射击 ");end
/施放 召唤宠物
功能 :( 需要连续按数次实现功能 )
无目标时选择最近的目标 ,
目标是队友是选择队友的目标 ;
目标没有印记的时候施放印记 ,
有印记的时候施放毒蛇钉刺 ;
当攻击是自动判断是否自动射击 , 没有就自动射击
2) 猎人宏
/script PetPassiveMode()
/script PetFollow()
/script if(UnitAffectingCombat("player")==1) then CastSpellByName("
假死 ") else if(UnitAffectingCombat("player")==nil) then
CastSpellByName(" 冰冻陷阱 ( 等级 2)") MoveForwardStart() end end
/script if(UnitAffectingCombat("player")==1) then MoveForwardStop()
StrafeLeftStop() StrafeRightStop() end
功能 :( 连续按 ) 收回宠物并令其冬眠 , 自动停止跑动
, 释放装死 , 如果解除战斗状态就释放冰冻陷阱
3) 牧师宏
/script r=10;l={6,12,18,24,30,36,42,48,54,60};t=UnitLevel("target");
/script if (t==0) then t=UnitLevel("player");end;if (not
UnitCanAttack("player","target")) then for i=r,1,-1 do if (t>=l[i]-10)
then CastSpellByName(" 真言术:盾 ( 等级
"..i..")");break;end;end;end
/script if (SpellIsTargeting()) then SpellTargetUnit("player") end
功能 : 根据目标等级施放不同等级的真言术
4) 换武器宏
/script PickupInventoryItem(17); if(CursorHasItem()) then
PickupContainerItem(4,2); PickupContainerItem(4,1);
PickupInventoryItem(16); else PickupContainerItem(4,1);
PickupInventoryItem(16); PickupContainerItem(4,2);
PickupInventoryItem(17); end
功能 : 双手武器与盾 + 单手武器之间互换
5) 盗贼宏
/script if(UnitName("target") == nil) then TargetNearestEnemy();else
if(not UnitCanAttack("player","target")) then AssistUnit("target") end
end
/script if ( GetComboPoints() >= 5 ) then CastSpellByName(" 剔骨 (
等级 8)") end
/script GameTooltip:SetInventoryItem("player",
GetInventorySlotInfo("MainHandSlot"));
if(GameTooltipTextRight3:GetText()==" 匕首 ") then CastSpellByName("
背刺 ( 等级 8)");else CastSpellByName(" 邪恶攻击 ( 等级 8)")
;end
功能 : 如果目标身上是 5 灯就剔骨 ,
如果主手是匕首就出背刺 , 如果是其他武器 ,
就出邪恶攻击
6) 法师
节能施法时自动放奥术飞弹的宏
/script local q; local t;for i=0,15,1 do t=GetPlayerBuffTexture(i); if
(t and string.find(t, "ManaBurn")) then q=1; break; end; end; if(q ~=
nil) then CastSpellByName(" 奥术飞弹 ( 等级 7)"); else
CastSpellByName(" 灼烧 ( 等级 7)"); end;