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.

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...