/// <summary> /// Attempts to remove buffs by dispelling them. /// </summary> /// <param name="partyMemberBuffs">Buffs of a party member.</param> public static void CureMostBuffs(Buffs partyMemberBuffs) { Buff[] allBuffs = partyMemberBuffs.ToArray(); foreach (Buff buff in allBuffs) { partyMemberBuffs.RemoveBuff(RemovalType.DISPEL, buff); } }