Jump to content

Tank FightClass is working good with with WRotation but with grinder/quester not.


mochikk
 Share

Recommended Posts

 

Hello Guys! Hope you can guide me a little bit!.

Im trying to do a tank fightclass to tank dungeon (I'm trying RFC atm). My goal is make this tank able to do all instance by himself tanking good in 2+ mob pulls. 

Well, I have done my classfight. It works good in WRotation and tank changes target if some1 of hostile units is not targeting me in a range of x yards and do his skills properly to get aggro. The problems comes when i try it with a grinder/quester path. All works good but when a pull with 1+ mobs come and one of these mobs change target to any party member my warrior is changes to the target correctly but instantly my target is back to the first Mob and it stills changing in bucle. (I thought that was the option "Attacks when being attacked, but i switched off this option and the problem stills happening).

Example:

First pull RFC, 2 earthborner (this worms). My warrior gets the 1st mob aggro good and when heals are received the 2nd earthborner goes to the healer. Then my warrior changes to this second earthborner but instantly changes to the first one and stills changing target between 1st and and the second one without attack or do any skill in bucle.

REMEMBER: If i put the bot in WROTATION my warriors works so good, he changes target even in pull of 3+ mobs it takes aggro very good(Better than me HAHA :D).

HERE is the option that i put in my classfight.xml 

This on SPELL

// TANK MODE List

<WoWUnit> HostileUnits = ObjectManager.GetWoWUnitHostile() ;  

foreach (var unitsInRange in HostileUnits)

{

    if (unitsInRange.GetDistance <= 30 && !unitsInRange.IsTargetingMe && unitsInRange.InCombat)

    {

         Interact.InteractGameObject(unitsInRange.GetBaseAddress);

    }

}

This is my returning option: 

ObjectManager.GetWoWUnitHostile().OrderBy(u => u.GetDistance).FirstOrDefault(u => u.GetDistance <= 30) != null

Combat only True

Not spell, C# code: True

 

. Do you know how i can change this auto targeting or force to cancel this option or other way to force a target??

Thanks in advance and forgive me if i miss something obvious.

Edited by mochikk
I thought i was in other kind of post. This should go on fight class! My apologies
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...