Jump to content

Recommended Posts

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

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.

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) )

 

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.

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...