What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Will this work for Checking partymembers

mopysworld

New Member
Joined
Jan 15, 2010
Messages
158
Reaction score
2
Question I don't have a spare Druid or Pally to test this code with so looking to see if it is viable. Basically if there is a druid in the group return true or if there is another paladin besides me return true else return false.

Code:
private bool partyBuffcheck
        {
            get
            {
                if (Me.PartyMembers.Any(p => p.Class == WoWClass.Druid || (p.Class == WoWClass.Paladin && p.Guid != Me.Guid)))
                {
                     return true;
                }
                return false;
            }
        }
 
Back
Top