
- #Elvui addons for bm hunter mod
- #Elvui addons for bm hunter update
- #Elvui addons for bm hunter full
This bypasses the normal targeting process by forcing in the highest priority target from the target list (if there are any).
#Elvui addons for bm hunter full
If so, look to the addendum at the end of this post for my full code and adjust as needed.ĭesc: Allows for inserting situational priority target units. run local C,I,S,N="TargetPriorityPvp",select(6,GetPvpTalentInfoByID((C_SpecializationInfo.GetAllSelectedPvpTalentIDs())))S=((I and IsPlayerSpell(I)and"3")or"2")if not(GetCVar(C)=S)then SetCVar(C,tonumber(S),"scriptCVar")endĬaveat: I do this in a startup macro and I haven’t tested this version.
#Elvui addons for bm hunter mod
Allows for situational targeting priority plug-ins.ĭesc: Dismounts on mod and dispatches to the rest of the chain.ĭesc: Sets targeting priority to PVP or PVE based on whether or not you know the second of your PVP talents (the first might be Honorable Medallion which always comes up true). Applies to only unit targeted, DPS actions. When you’re one with /framestack, type it again to make it to away. Discover their formal names, the button frame names, using /framestack or /fstack. You’ll need to identify what buttons you want to use based on your own UI. SetCVar("stopAutoAttackOnTargetChange", 1,"scriptCVar") SetCVar("TargetNearestUseNew", 0,"scriptCVar") Somewhere upstream from executing these macros (preferably a startup macro) you run this code:. In 5-man content ONLY, you will assign your Tank as your Focus Unit. That bar does not have to be visible (at least in ElvUI). You have a bar of buttons you can set aside for macros executed indirectly. I strongly recommend a bar mod that allows you to access all 120 action slots directly. You can do this with the Vanilla UI, but it’s. I suspect Domino will work, but I don’t have that either. Bartender will work as well, but don’t ask me specific questions related to Bartender as I don’t use it. I built these for myself using the Action Bar handlers in ElvUI and ElvUI_ExtraActionBars. Macro Chaining 101/102 (Focus on Beast Mastery Hunters) The intent of the above is to cast Revive Pet if my pet is summoned and dead, cast Feed Pet (food in backpack slot 13) if my pet is summoned and not happy, cast Dismiss Pet if my pet is summoned and is happy, and cast Call Pet if my pet is not summoned. run local if UnitExists(“pet”) then if UnitHealth(“pet”)=0 then /use Revive Pet elseif GetPetHappiness()~=nil and GetPetHappiness()~=3 then /use Feed Pet /use 0 13 else /use Dismiss Pet end else /use Call Pet end The intent of the above is to cast Scorpid Sting if my target is a Rogue or Warrior and cast Viper Sting if they are any other class. script class=UnitClass(“target”) if ((class=“Rogue”) or (class=“Warrior”)) then /use Scorpid Sting else /use Viper Sting end The intent of the above is to put my pet on passive and tell it to stay if my pet’s target is the same as my target and I am in melee range of my target. script if UnitExists(“pettarget”) and CheckInteractDistance(“target”,3) and UnitIsUnit(“target”,“pettarget”) then /petpassive /petstay else end It will not toggle Shadowmeld off if it is active.
The intent of the above is to cast Shadowmeld if it is not already active. run local i,x=1,0 while UnitBuff(“player”,i) do if UnitBuff(“player”,i)=“Interface\Icons\Ability_Ambush” then x=1 end i=i+1 end if x=0 then /use Shadowmeld else end It will turn on Auto Shot (action bar slot 3) if it is not on and the target is outside melee range. The intent of the above is to start melee auto attack if the target is in melee range and I am not in combat. run if CheckInteractDistance(“target”,3) and (not PlayerFrame.inCombat) then /startattack elseif not IsAutoRepeatAction(3) then /use Auto Shot end If anyone would like me to share any macros, I would be happy to do so. Could someone look at the below and tell me whether they will work or not? I will not post the full macros, only the parts I am uncertain of. I’m not sure about the script pieces though. I’ve gotten a lot of it completed and believe they will work.
#Elvui addons for bm hunter update
I’m working to update my old vanilla WoW macros for the new API that will be used for Classic WoW.