string ADPSSqlDataCallback(CombatantData data)
        {
            if (data.Parent.GetBoss() == null &&
                !PluginMain.Shared.EnabledCalculateRDPSADPSForALlZones)
            {
                return("0.0");
            }

            var value = data.GetADPS();

            return(value > 0 ? value.ToString() : "0.0");
        }
        public static int GetAPerf(this CombatantData data)
        {
            var boss = data.Parent.GetBoss();
            var job  = data.GetJob();

            if (boss == null || job == null)
            {
                return(-1);
            }

            var aDPS        = data.GetADPS();
            var aPercentile = boss.APercentiles.Where(x => x.Job == job.Name).FirstOrDefault();

            if (aDPS == -1 || aPercentile == null)
            {
                return(-1);
            }

            return(CalculatePerf(aDPS, aPercentile));
        }