Kevumse 0 Posted November 24, 2017 Share Posted November 24, 2017 My wand pretty much spam clicks so i can't use it in the way i want to aka just use it normally after i apply dots. Link to comment https://wrobot.eu/forums/topic/7796-wand-spam-click-help/ Share on other sites More sharing options...
Matenia 628 Posted November 24, 2017 Share Posted November 24, 2017 (edited) Hello, is this for vanilla? I use the following function to check if I can wand: public static bool IsAutoRepeating(string name) { string luaString = @" local i = 1 while true do local spellName, spellRank = GetSpellName(i, BOOKTYPE_SPELL); if not spellName then break; end -- use spellName and spellRank here if(spellName == ""{0}"") then PickupSpell(i, BOOKTYPE_SPELL); PlaceAction(1); ClearCursor(); return IsAutoRepeatAction(1) end i = i + 1; end return false;"; return Lua.LuaDoString<bool>(string.Format(luaString, name)); } Edited November 24, 2017 by Matenia Link to comment https://wrobot.eu/forums/topic/7796-wand-spam-click-help/#findComment-35670 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