Jump to content

Warrior Shield Bash in Battle Stance


Recommended Posts

Hi everyone, 

I am trying to make use of shield bash in battle stance but it requires shield to be equipped.
Normally in battlestance, when my wrotation is on, my warrior has 2h weapon equipped so, shield bash doesn't work as it requires shield to be equipped.
Is there any possible way to make it equip shield on using shield bash, like some lua code?
I am new to this stuff so I really have no clue how to do it. 

Any help or hints would be glady appreciated.

Link to comment
Share on other sites

I have seen people ask this many times in forums but it has always gone unanswered. 
I tried adding Equipitembyname(ITEMID/NAME) in the lua code but it still isn't working. 
Am I doing something wrong or is it not within the bounds of the API?
Please help me. xD


Link to comment
Share on other sites

Anyway - read the damn docs:


Changes in 3.3.0 

When in combat this function now "picks up" the item instead of equipping it, similar to PickupInventoryItem. Out of combat, the function behaves as expected. This change was made to address the issue of rogues using "poison swapping" addons to increase their DPS.[1]

You will need to call:



-- or the macro call
RunMacroText("/equip mainHandName\n/equip offHandName");


Link to comment
Share on other sites

  • 4 weeks later...
On 8/17/2018 at 2:09 PM, Innokin said:

Yes I am very new to LUA so i had no clue how to use the strings. 
I will try and see if this works. 
Thanks for guiding me. 

could post your profile for me to use on my, (I do not know how to program).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...