August 15, 20187 yr 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 :))
August 17, 20187 yr Author 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
August 17, 20187 yr 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");
August 17, 20187 yr Author 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. :))
September 14, 20187 yr 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).
Create an account or sign in to comment