Jump to content

Party healing problem


Recommended Posts

@Droidz Hey, my Healer is fighting with enemies, i chose an option in Fightclass "For friends" And after he choses party member, he instantly swiches target to enemy, and heal himself instead of tank.
Tried:  <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = true; " />
But it ignores all combat and skip everything, 
How to force healer not fight with mobs, and just heal party members? Using Quster, not party mode

Link to comment
Share on other sites

 try
                {
                    //Checking if: not dead, in Group, inGame then looping the party members
                    if (!ObjectManager.Me.IsDead && Party.IsInGroup() && !Usefuls.IsLoadingOrConnecting && Usefuls.InGame)
                    {
                        //looping all party members
                        foreach (var playerGuid in Party.GetPartyGUID())
                        {
                            if (playerGuid > 0)
{
                                var p = new WoWPlayer(0);
                                
                                var obj = ObjectManager.GetObjectByGuid(playerGuid);

                                if (obj.IsValid && obj.Type == WoWObjectType.Player)
                                {
                                    p = new WoWPlayer(obj.GetBaseAddress);
                                }
                                if (p.IsValid && !p.IsDead)
                                {
                                    
                                    if (p.HealthPercent <= 90 && !p.HaveBuff("Rejuvenation") && Rejuvenation.KnownSpell)
                                    {
                                        if (p.HealthPercent >= 1)
                                        {
                                            SpellManager.CastSpellByNameOn("Rejuvenation", p.Name);
                                            Usefuls.WaitIsCasting();
                                        }
                                    }


                                    
                                }
                            }
                        }

Hope it helps

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