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 Quote Link to post Share on other sites
dida1990 48 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. Quote Link to post Share on other sites
dida1990 48 Posted May 17, 2016 Share Posted May 17, 2016 Macro list: Example: Quote Link to post Share on other sites
dida1990 48 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 Quote Link to post Share on other sites
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 Quote Link to post Share on other sites
dida1990 48 Posted May 18, 2016 Share Posted May 18, 2016 oh, then i would say "there you go" Quote Link to post Share on other sites
dida1990 48 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 :) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.