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

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