insanity 11 Posted February 11, 2017 Share Posted February 11, 2017 I've been trying to automate creating healthstones and use them, with no luck... The bot simply wont create them. Has anyone managed this? [D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 47[F] 11.03.07 - [Spell] Cast Create Healthstone (Minor) (Create Healthstone (Minor))[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - Run() time to execute: 203[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun time to execute: 0[D] 11.03.07 - [FightClass] Create Healthstone (Minor) - NeedToRun = false - timer Link to comment https://wrobot.eu/forums/topic/5070-create-healthstones-warlock-fightclass/ Share on other sites More sharing options...
insanity 11 Posted February 11, 2017 Author Share Posted February 11, 2017 I managed to get this to work by using lua script. Currently using the CastSpell() in combination with GetSpellTabInfo() CastSpellByName is not working for Healthstones for some odd reason (Elysium server) name,texture,offset,numSpells = GetSpellTabInfo(3); CastSpell((offset+1),"spell"); http://wowprogramming.com/docs/api/CastSpellhttp://wowprogramming.com/docs/api/GetSpellTabInfo Droidz 1 Link to comment https://wrobot.eu/forums/topic/5070-create-healthstones-warlock-fightclass/#findComment-23520 Share on other sites More sharing options...
Loo 0 Posted December 8, 2021 Share Posted December 8, 2021 @Droidz: I cant get this to work can you suggest how it should be done? Im writing a C# fight class. need to know what to put here. if(ItemsManager.GetItemCountByNameLUA("Minor Healthstone")==0 && ItemsManager.GetItemCountByNameLUA("Soul Shard")>=1 && CreateHealthstone.KnownSpell && CreateHealthstone.IsSpellUsable){ //CreateHealthstone.Launch(); //wManager.Wow.Helpers.SpellManager.CastSpellByIdLUA(6201, "target"); //Lua.LuaDoString("CastSpell((offset+1),"spell");"); } Link to comment https://wrobot.eu/forums/topic/5070-create-healthstones-warlock-fightclass/#findComment-64242 Share on other sites More sharing options...
Droidz 2742 Posted December 8, 2021 Share Posted December 8, 2021 Hello, Lua.LuaDoString("local name,texture,offset,numSpells = GetSpellTabInfo(3); CastSpell((offset+1),'spell');"); Link to comment https://wrobot.eu/forums/topic/5070-create-healthstones-warlock-fightclass/#findComment-64245 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