Ejemplo n.º 1
0
        /////////////
        // Helpers //
        /////////////

        /// <summary>
        /// Return the total number of successful hits by the acting monster against a target
        /// </summary>
        private static int GetTotalHits(Monster actor, Monster target)
        {
            int totalHits = actor.RollHits() - target.RollBlocks();

            return(totalHits > 0 ? totalHits : 0);
        }