Created
December 3, 2014 05:44
-
-
Save StinkyTwitch/7845a9350dd6fa73c7d8 to your computer and use it in GitHub Desktop.
Auto Target PE Block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[-------------------------------------------------------------------------------------------- | |
AUTOTARGET | |
* Will automatically target nearest enemy. If you accidentally select a friendly target it | |
clears your selection and reselects the nearest enemy. To override this press and hold Right | |
Control. | |
----------------------------------------------------------------------------------------------]] | |
{{ | |
{ "/script TargetNearestEnemy(); if not UnitAffectingCombat('target') and not CheckSpecialTarget() then ClearTarget() end;", { "!target.exists", }, }, | |
{ "/script TargetNearestEnemy(); if UnitIsDeadOrGhost('target') then ClearTarget() end;", { "target.exists", "target.dead", }, }, | |
{ "/cleartarget", { "@LibPRA.ClearTarget()", "!modifier.rcontrol", }, }, | |
}, "toggle.autotarget", }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment