Jump to content

Recommended Posts

 

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.

 

 

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 :dry::biggrin:

And why am I talking about Ban-Risk, we are using a Bot :biggrin:

The bot can run LUA secure scripts without an unlocker

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