koolkaracter 1 Posted October 8, 2016 Share Posted October 8, 2016 Title says it all, what code do I need to add to use the hearth stone to my profiles? Link to comment https://wrobot.eu/forums/topic/4050-how-to-add-hearthstone-function/ Share on other sites More sharing options...
camelot10 155 Posted October 8, 2016 Share Posted October 8, 2016 var name = SpellListManager.SpellNameInGameById(94719); Lua.RunMacroText("/cast " + name); Thread.Sleep(Usefuls.Latency * 2); if (ObjectManager.Me.IsCast) { TravelLog("Heathstoning(" + name + ")"); Usefuls.WaitIsCasting(); } else if (ItemsManager.HasItemById(6948)) { TravelLog("Heathstoning"); ItemsManager.UseItem(6948); Usefuls.WaitIsCasting(); } else { TravelError("Dont have Heathstone or The Innkeeper's Daughter"); } your welcome Link to comment https://wrobot.eu/forums/topic/4050-how-to-add-hearthstone-function/#findComment-18820 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