Exemple #1
0
        public static bool EligibleForCleanse(this WoWPlayer p)
        {
            string fnname = "FTWExtensionMethods.EligibleForCleanse";

            MyTimer.Start(fnname);
            bool retval = !p.IsDead && !p.IsGhost && p.InLineOfSight && p.HealthPercent < 90 && p.IsDiseased();

            MyTimer.Stop(fnname);
            return(retval);
        }