September 13, 20178 yr Has anyone succesfully made it so that bot goes to trainer and learn new skills? The skills need to be put into actionbar for them to work anyway how to make this all work?
September 13, 20178 yr Sample lua code: local spellNameInGame = "Charge"; local freeslot = -1; for i=1, 120, 1 do if not HasAction(i) then freeslot = i; break; end end if freeslot <= 0 then return; end local i = 1 while true do local spellName, spellRank = GetSpellName(i, BOOKTYPE_SPELL) if not spellName then break; end if spellName == spellNameInGame then PickupSpell(i, BOOKTYPE_SPELL); PlaceAction(freeslot); ClearCursor() end i = i + 1 end
September 15, 20178 yr Author Cant seem to get it to work. I downloaded the plugin to plugin folder and it is activated in wrobot, but my char doesnt talk to the trainer or learn new spells, do I need to set that up somehow?
Create an account or sign in to comment