Jump to content

canaanmoon

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by canaanmoon

  1. On 8/9/2020 at 5:00 PM, Talamin said:

    You can build a List with all Party Members and then try to check each one of them:

     

        public static bool GroupCureSpellPoison(Spell spell)
        {
            if (!spell.KnownSpell || !spell.IsSpellUsable || !spell.IsDistanceGood || ObjectManager.Me.HaveBuff("Drink") || ObjectManager.Me.HaveBuff("Food"))
            {
                return false;
            }
    
            IEnumerable<WoWPlayer> members = Partystuff.getPartymembers().Where(o => o.IsAlive);
            if (members.Count() > 0)
            {
                foreach (WoWPlayer member in members)
                {
                    if (!TraceLine.TraceLineGo(member.Position) && HasPoisonDebuff(member))
                    {
                        Spells.Focus(spell, member);
                    }
                }
            }
            return false;
        }

    HasPoisonDebuff(member))

    guy,where s this function ?

×
×
  • Create New...