-
/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
-
MACRO 19 '潜行' Ability_Ambush.blp
/施放 潜行(等级 3)
/script if(notdagger()) then lefttoright() end
END
MACRO 24 '背刺' Ability_BackStab.blp
/script if(isdagger()) then CastSpellByName('背刺(等级 5)') else lefttoright() end
END
MACRO 26 '邪恶攻击' Spell_Shadow_RitualOfSacrifice.blp
/script if(notdagger()) then CastSpellByName('邪恶攻击(等级 6)') else lefttoright() end
END
MACRO 29 '消失' Ability_Vanish.blp
/施放 消失(等级 1)
/script if(notdagger()) then lefttoright() end
END
MACRO 44 '初始' Spell_Shadow_ScourgeBuild.blp
/script function isdagger() GameTooltip:SetInventoryItem('player', GetInventorySlotInfo('MainHandSlot')) tip=GameTooltipTextRight3:GetText() or GameTooltip... -
/script
i=1
found=0
while (UnitBuff("player",i)) do
if(string.find(UnitBuff("player",i),"stealth"))
then found=1
end
i=i+1
end
if (found==0)
then CastSpellByName("xxx") --xxx为潜行的中文技能名称,你可以通过按shitf+鼠标左键点击法术书上的这个技能图标来得到它
end
共1页 1







