Exemple #1
0
        public void Heal(Character character)
        {
            this.Alive();
            character.Alive();

            if (this.Faction != character.Faction)
            {
                throw new InvalidOperationException(OutputMessages.DifferentFaction());
            }

            character.HealCharacter(this.AbilityPoints);
        }