April 15, 20179 yr On 2/8/2017 at 4:00 AM, Droidz said: For the distance, put false at the spell option "Check if is good distance" and add condition type "C Sharp Code" with the code Lua.LuaDoString<bool>("return IsActionInRange(" + (SpellManager.GetSpellSlotId(SpellListManager.SpellIdByName("Auto Shot")) + 1) + ")") (of course, replace Auto Shot by your spell name in english, this code in implemented here). @Droidz When I follow these instructions I get compilation error: 'wManager.Wow.Helpers.SpellManager.' does not contain a definition for 'GetSpellSlotId' I changed Auto Shot to Shoot (for wand) In my spellbook I have Shoot (5019) Can I use spell by number id instead of GetSpellSlotId?
April 15, 20178 yr 8 hours ago, justgimmiethelink said: @Droidz When I follow these instructions I get compilation error: 'wManager.Wow.Helpers.SpellManager.' does not contain a definition for 'GetSpellSlotId' I changed Auto Shot to Shoot (for wand) In my spellbook I have Shoot (5019) Can I use spell by number id instead of GetSpellSlotId? This code is for wrobot for vanilla, you can use lua for others wow vresion
April 16, 20178 yr What LUA Script for other wow versions? Tried the one above, but this doesn't work.
May 10, 20178 yr To get wand working 1. Add the Wand attack to your fighterclass 2. Add Spell condition C Sharp Code !Lua.LuaDoString<bool>("return IsAutoRepeatAction(" + (SpellManager.GetSpellSlotId(SpellListManager.SpellIdByName("Shoot")) + 1) + ")") 3. Profit. I also use set mine to only use wand when target is below a certain percent of health
May 11, 20178 yr Would this work in a c# fightclass? if (EquippedItems.GetEquippedItem(WoWInventorySlot.Ranged) != null && !Lua.LuaDoString<bool>("return IsAutoRepeatAction(" + (SpellManager.GetSpellSlotId(SpellListManager.SpellIdByName("Shoot")) + 1) + ")")) { if (Shoot.KnownSpell) SpellManager.CastSpellByNameLUA("Shoot"); return; } The aim here is to only use Shoot if a ranged weapon is actually equipped.
May 13, 20178 yr Guys. how to fix problem with wanding. If you got stunned or knocked etc any cc on you sometimes wrecks wanding. my Button is active like i'm wanding. but bot isnt shooting. so i need to press wand one more time to get it works
May 15, 20196 yr On 5/9/2017 at 8:59 PM, Zickefoose said: To get wand working 1. Add the Wand attack to your fighterclass 2. Add Spell condition C Sharp Code !Lua.LuaDoString<bool>("return IsAutoRepeatAction(" + (SpellManager.GetSpellSlotId(SpellListManager.SpellIdByName("Shoot")) + 1) + ")") 3. Profit. I also use set mine to only use wand when target is below a certain percent of health This worked pretty well but i'm getting this error frequently now when the Automaton mode loads. Compilator Error : c:\User\USERNAME\AppData\Local\Temp\kvb3zwmm\kvb3zwmm.0.cs(52,136) : error CS0117: 'wManager.Wow.Helpers.SpellManager' does not contain a definition for Get SpellSlotId'
May 15, 20196 yr 5 hours ago, JWalton85 said: This worked pretty well but i'm getting this error frequently now when the Automaton mode loads. Compilator Error : c:\User\USERNAME\AppData\Local\Temp\kvb3zwmm\kvb3zwmm.0.cs(52,136) : error CS0117: 'wManager.Wow.Helpers.SpellManager' does not contain a definition for Get SpellSlotId' hello, this code is for Vanilla
November 23, 20232 yr On 1/31/2017 at 7:55 PM, Droidz said: Hello, wait next update and use spell like here: ShootVanilla.xml I am going to create fight classes for Vanilla WoW servers like Turtle WoW and this works perfectly, thanks!
September 10, 20241 yr On 11/22/2023 at 4:40 PM, wlhr said: I am going to create fight classes for Vanilla WoW servers like Turtle WoW and this works perfectly, thanks! Doesnt work on the basic priest profile... Bot shoots then auto attacks instantly, is there a way we can just turn Melee attack off? @Droidz
September 10, 20241 yr On 1/24/2017 at 4:43 PM, baka said: It looks like its casting Attack so its hits Attack then Shoot anyway to stop the auto attack Bump grinding doesnt allow shoot either because the bot just spams auto attack all the time
Create an account or sign in to comment