/// <summary> /// Checks the combat data and gets buffs that were present during the fight /// </summary> private void setPresentBoons() { List <SkillItem> s_list = log.getSkillData().getSkillList(); if (settings.PlayerBoonsUniversal) {//Main boons foreach (Boon boon in Boon.getBoonList()) { if (s_list.Exists(x => x.getID() == boon.getID())) { statistics.present_boons.Add(boon); } } } if (settings.PlayerBoonsImpProf) {//Important Class specefic boons foreach (Boon boon in Boon.getOffensiveTableList()) { if (s_list.Exists(x => x.getID() == boon.getID())) { statistics.present_offbuffs.Add(boon); } } foreach (Boon boon in Boon.getDefensiveTableList()) { if (s_list.Exists(x => x.getID() == boon.getID())) { statistics.present_defbuffs.Add(boon); } } } List <CombatItem> c_list = log.getCombatData().getCombatList(); foreach (Player p in log.getPlayerList()) { statistics.present_personnal[p.getInstid()] = new List <Boon>(); if (settings.PlayerBoonsAllProf) {//All class specefic boons foreach (Boon boon in Boon.getRemainingBuffsList()) { if (c_list.Exists(x => x.getSkillID() == boon.getID() && x.getDstInstid() == p.getInstid())) { statistics.present_personnal[p.getInstid()].Add(boon); } } } } }