Esempio n. 1
0
        /// <summary>
        /// Jumps off of the church roof
        /// </summary>
        /// <returns>true if successful</returns>
        private bool JumpOffTreeRoof()
        {
            Point hitboxCenter = new Point(Screen.Center.X + Screen.ArtifactLength(0.069), Screen.Center.Y + Screen.ArtifactLength(0.069));
            Blob  hitboxBlob   = new Blob(hitboxCenter);

            if (HandEye.MouseOverStationaryObject(hitboxBlob, false, 10, 3500))
            {
                ScanForMarkOfGrace();
                if (HandEye.MouseOverStationaryObject(new Blob(hitboxCenter), true, 10, 3000))
                {
                    SafeWait(3000);
                    Inventory.HoverStandardTeleport(Inventory.StandardTeleports.Camelot, false, false);
                    Vision.WaitDuringPlayerAnimation(3000);
                    return(true);
                }
            }
            return(false);
        }