Jump to content

How to do it in FC editor?


79135

Recommended Posts

Hello, I use quester profile. I use FC from "Fight Class Editor". My bots running together. When tank pull new stack mobs and at this time healer start heals tank, some unit start attack healer's after healing cast and healer running to the unit, if unit is caster, for attack this unit. How to force healer's ignore fight with the unit and start attack tank's target?

Link to comment
Share on other sites

1 hour ago, Droidz said:

to ignore fight you can try this plugins: Ignore all combat fight.cs

 

19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:28 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:29 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:30 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)
19:05:31 - [Fight] Player Attacked by Deviate Crocolisk (lvl 18)

 

Ive this in log, and bot just stay when tank fighting with unit

Link to comment
Share on other sites

you need to run this code one time per session no more, try with plugin for now, you can also try to disable option in advanced general settings "Helping Group Members" (reactive it if your problem is not resolved)

Link to comment
Share on other sites

1 hour ago, Droidz said:

you need to run this code one time per session no more, try with plugin for now, you can also try to disable option in advanced general settings "Helping Group Members" (reactive it if your problem is not resolved)

mb i wrong wrote.. I need what healer after heal helping tank attack him target (/assist) and ignore caster unit. Now healer is healing but nothing to do more

Link to comment
Share on other sites

  • 2 weeks later...

        bool need = true;
        wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) =>
        {
            if (ObjectManager.GetWoWUnitAttackables().Any(o => o.IsTargetingPartyMember) && need)
            {
                WoWUnit unitWhichAttackMyPartyMember = ObjectManager.GetWoWUnitAttackables().Where(o => o.IsTargetingPartyMember).FirstOrDefault();
                if (unitWhichAttackMyPartyMember != null)
                {
                    cancelable.Cancel = true;
                    Interact.InteractGameObject(unitWhichAttackMyPartyMember.GetBaseAddress);
                    Fight.StartFight(unitWhichAttackMyPartyMember.GetBaseAddress);
                }
                else
                    need = false;
            }
        };

Write pls code how to force tank attack unit which Attack My Party Member. The code dont work

Link to comment
Share on other sites

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