Jump to content

Start Attack?


Versailles
 Share

Recommended Posts

Hi, i have an issue with the Wrotation, with my hunter and the AIO,dll fightclass, when someone in the party is in combat, my hunter coming to start the attack, but with any another class i need to target the mob to start attack, how can i solve that? i have the same general configurations in wrobot, may is something with the fightclass how can i replicate that?

Link to comment
Share on other sites

53 minutes ago, Versailles said:

Hi, i have an issue with the Wrotation, with my hunter and the AIO,dll fightclass, when someone in the party is in combat, my hunter coming to start the attack, but with any another class i need to target the mob to start attack, how can i solve that? i have the same general configurations in wrobot, may is something with the fightclass how can i replicate that?

"Help Party Members" or something like that in advanced settings. ?

Link to comment
Share on other sites

11 hours ago, Versailles said:

that is already check

Rotation bot isn't supposed to target for you. (Just notiiced you wrote rotation bot).
If it does, then it's because the fightclass OR a plugin has some code that targets target of party members if they are in combat.

Link to comment
Share on other sites

if (Lua.LuaDoString<bool>(@"if UnitExists(""party1"") and UnitAffectingCombat(""party1"") and not UnitExists(""target"") then return true else return false end"))
{
  Lua.LuaDoString(@"AssistUnit(""party1"")");
  Fight.InFight = true;
}

This is some very very crude code that I just wrote out of memory for party1.
You can just add all your party members to a list and then iterate the list instead.
Maybe there is even some api in wrobot. But I am not by my PC. Wrote this just to give you a gist of it.

Link to comment
Share on other sites

On 6/23/2020 at 8:40 AM, Ordush said:
if (Lua.LuaDoString<bool>(@"if UnitExists(""party1"") and UnitAffectingCombat(""party1"") and not UnitExists(""target"") then return true else return false end"))
{
  Lua.LuaDoString(@"AssistUnit(""party1"")");
  Fight.InFight = true;
}

This is some very very crude code that I just wrote out of memory for party1.
You can just add all your party members to a list and then iterate the list instead.
Maybe there is even some api in wrobot. But I am not by my PC. Wrote this just to give you a gist of it.

ty ill prove it

Link to comment
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.

 Share

×
×
  • Create New...