Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Lua script not working with condition?

Featured Replies

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

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

 

  • Author

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.

  • Author
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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.