justgimmiethelink 1 Posted April 15, 2017 Share Posted April 15, 2017 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? Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-25828 Share on other sites More sharing options...
Droidz 2742 Posted April 15, 2017 Share Posted April 15, 2017 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 Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-25834 Share on other sites More sharing options...
Bioaim 1 Posted April 16, 2017 Share Posted April 16, 2017 What LUA Script for other wow versions? Tried the one above, but this doesn't work. Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-25891 Share on other sites More sharing options...
Zickefoose 5 Posted May 10, 2017 Share Posted May 10, 2017 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 JWalton85 and Batman 2 Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-26654 Share on other sites More sharing options...
Marsbar 228 Posted May 11, 2017 Share Posted May 11, 2017 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. Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-26694 Share on other sites More sharing options...
maukor 34 Posted May 13, 2017 Share Posted May 13, 2017 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 Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-26739 Share on other sites More sharing options...
JWalton85 3 Posted May 15, 2019 Share Posted May 15, 2019 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' TheSmokie 1 Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-53631 Share on other sites More sharing options...
Droidz 2742 Posted May 15, 2019 Share Posted May 15, 2019 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 Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-53633 Share on other sites More sharing options...
wlhr 63 Posted November 23, 2023 Share Posted November 23, 2023 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! Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-69041 Share on other sites More sharing options...
dwordis 0 Posted September 10 Share Posted September 10 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 Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-69580 Share on other sites More sharing options...
dwordis 0 Posted September 10 Share Posted September 10 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 Link to comment https://wrobot.eu/forums/topic/4829-wanding/?page=2#findComment-69581 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now