Rickster 6 Posted May 17, 2016 Share Posted May 17, 2016 I thought it would be nice to have a new conditional added. Focus health percent. As a feral druid, it would be nice to be able to focus your tank and cast rebirth if dead? Thanks Link to comment Share on other sites More sharing options...
dida1990 51 Posted May 17, 2016 Share Posted May 17, 2016 There are 2 possible solutions with Macro and without 1.With Macro Create a macro: #showtooltip /cast [target=focus,exists]Rebirth Create the new Spell in WRobot: Spell name is: RunMacro(macroID); macroID = position in your "macro list" (starting top left, going from left to right and top to bottom) Just the number( eg. 1 not "1") In spell settings set "Not spell, is lua script" to true Conditions: We will use this WoW_API (this is not secured [safe to use]) local health = UnitHealth(unit); Set the condition of Rebirth to "Lua script" in "lua script" write local health = UnitHealth("focus"); ret = false; if (health == 0) then ret = true; "return value research" set to true "return value var" set to ret Warning: If you don't have a focus selected it will always be true and spamming Rebirth 2. Without a macro Spell name: CastSpellByName("Rebirth"{, "focus"}); Conditions are the same I guess this should work. Link to comment Share on other sites More sharing options...
dida1990 51 Posted May 17, 2016 Share Posted May 17, 2016 Macro list: Example: Link to comment Share on other sites More sharing options...
dida1990 51 Posted May 17, 2016 Share Posted May 17, 2016 I guess Droidz will post a comment sooner or later telling us how to do it a lot easier and my work is gone And why am I talking about Ban-Risk, we are using a Bot Link to comment Share on other sites More sharing options...
Brian 10 Posted May 18, 2016 Share Posted May 18, 2016 5 hours ago, dida1990 said: I guess Droidz will post a comment sooner or later telling us how to do it a lot easier and my work is gone And why am I talking about Ban-Risk, we are using a Bot The bot can run LUA secure scripts without an unlocker dida1990 1 Link to comment Share on other sites More sharing options...
dida1990 51 Posted May 18, 2016 Share Posted May 18, 2016 oh, then i would say "there you go" Link to comment Share on other sites More sharing options...
dida1990 51 Posted May 18, 2016 Share Posted May 18, 2016 45 minutes ago, Brian said: The bot can run LUA secure scripts without an unlocked. edited :) Link to comment 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