Example #1
0
        public int GetDamageTopSpellWillDealToPlayer(Player player)
        {
            if (TopSpell == null)
            {
                return(0);
            }

            return(TopSpell.CalculatePlayerDamage(player));
        }
Example #2
0
        public bool CanTopSpellReducePlayersLifeToZero(Player player)
        {
            if (TopSpell == null)
            {
                return(false);
            }

            var damage = TopSpell.CalculatePlayerDamage(player);

            return(damage >= player.Life);
        }