William Cruz 3 Posted December 31, 2016 Share Posted December 31, 2016 RunMacroText("/Cast Unending Resolve")\r\nRunMacroText("/Cast Dark Soul: Instability")\r\nRunMacroText("/Use 13")\r\nRunMacroText("/Cast Chaos Bolt")\r\n Condition: Burning Embers Equal or greater than 1 It doesn't work, it just keeps trying to cast it when i have no burning ember Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/ Share on other sites More sharing options...
Droidz 2738 Posted December 31, 2016 Share Posted December 31, 2016 Can you share your fightclass Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21682 Share on other sites More sharing options...
William Cruz 3 Posted December 31, 2016 Author Share Posted December 31, 2016 30 minutes ago, Droidz said: Can you share your fightclass i have uploaded it, initially it was chaos bolt macro. - RunMacroText("/Cast Unending Resolve")\r\nRunMacroText("/Cast Dark Soul: Instability")\r\nRunMacroText("/Use 13")\r\nRunMacroText("/Cast Chaos Bolt")\r\n - Spell lock (doesn't work i don't know why?, i have obtain this from sacrifice). - Incinerate. but i had to modify it and swapped incinerate with chaos bolt macro because it kept spamming chaos bolt even though i had no burning embers. Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21687 Share on other sites More sharing options...
Droidz 2738 Posted January 2, 2017 Share Posted January 2, 2017 Reply by PM: Quote Hello, Go to tab "Tools" > "Development tools", paste this code in textbox: wManager.DevelopmentTools.OutPutCSharp = wManager.Wow.ObjectManager.ObjectManager.Me.GetPowerByPowerType(wManager.Wow.Enums.PowerType.BurningEmbers).ToString(); and press button "C# (...." when you have burning embers. You can also try to use lua condition ( http://wowprogramming.com/docs/api/UnitPower UnitPower("player", 14) ) Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21709 Share on other sites More sharing options...
William Cruz 3 Posted January 3, 2017 Author Share Posted January 3, 2017 i pasted it, push c# button and ran the bot, but it still has the same problem. am i missing anything? i updated my fight class XML on the first post. u might wanna take a look.. fight class uses these talents dark regeneration, shadow fury, soul link, unbound will, grimoire of sacrifice, kil'jaeden's cunning. Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21720 Share on other sites More sharing options...
Droidz 2738 Posted January 3, 2017 Share Posted January 3, 2017 When you use c# button, wath is result? Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21725 Share on other sites More sharing options...
William Cruz 3 Posted January 3, 2017 Author Share Posted January 3, 2017 56 minutes ago, Droidz said: When you use c# button, wath is result? // wManager.DevelopmentTools.OutPutCSharp= 10 // Execute time: 235 Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21726 Share on other sites More sharing options...
Droidz 2738 Posted January 3, 2017 Share Posted January 3, 2017 In game what is current number of burning embers (when you have click on button "c#...) Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21728 Share on other sites More sharing options...
William Cruz 3 Posted January 3, 2017 Author Share Posted January 3, 2017 1 hour ago, Droidz said: In game what is current number of burning embers (when you have click on button "c#...) when i click the button , i have 1 ember. Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21734 Share on other sites More sharing options...
Droidz 2738 Posted January 3, 2017 Share Posted January 3, 2017 Ok, put Condition: Burning Embers Equal or greater than 10 (replace 1 by 10, or 2 by 20, or ...) Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21735 Share on other sites More sharing options...
William Cruz 3 Posted January 3, 2017 Author Share Posted January 3, 2017 23 minutes ago, Droidz said: Ok, put Condition: Burning Embers Equal or greater than 10 (replace 1 by 10, or 2 by 20, or ...) i do wManager.DevelopmentTools.OutPutCSharp = wManager.Wow.ObjectManager.ObjectManager.Me.GetPowerByPowerType(wManager.Wow.Enums.PowerType.BurningEmbers).ToString(); push c# button. Then replace 1 by 10, 2 by 20? it works now, thank you droidz :D Link to comment https://wrobot.eu/forums/topic/4672-lua-script-not-working-with-condition/#findComment-21737 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