Jump to content

Warrior Shield Bash in Battle Stance


Innokin
 Share

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.
Thanks
:))
 

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
@Droidz

shieldbash.thumb.png.b0de4287ae617f8bcc738328fe4b321f.png
 

Link to comment
Share on other sites

Anyway - read the damn docs:
http://wowwiki.wikia.com/wiki/API_EquipItemByName
 

Quote

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:

 

EquipItemByName("mainHand");
PickupInventoryItem(16);
EquipItemByName("offHand");
PickupInventoryItem(17);

-- 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...