DwarfRace.cs

src/Races/DwarfRace.cs · 1.1 KB

From the archive Arthea-src-1.0.zip

Download the archive   « Back to the archive contents

#region Arthea License

/***********************************************************************
*  Arthea MUD by R. Jennings (2007)      http://arthea.googlecode.com/ *
*  By using this code you comply with the Artistic and GPLv2 Licenses. *
***********************************************************************/

#endregion

using Arthea.Classes;
using Arthea.Connections.Players.Enums;
using Arthea.Continents.Areas.Characters.Enums;

namespace Arthea.Races
{
    /// <summary>
    /// Implementation of a dwarf race.
    /// </summary>
    public class DwarfRace : PlayerRace
    {
        #region [rgn] Constructors (1)

        /// <summary>
        /// Initializes a new instance of the <see cref="DwarfRace"/> class.
        /// </summary>
        public DwarfRace() : base("dwarf")
        {
            Description = "Smaller sturdy folk.";
            StatBonus[Stat.Constitution] = 2;
            StatBonus[Stat.Charisma] = -2;
            Size = Size.Medium;
            FavouredClass = typeof (WarriorClass);
        }

        #endregion [rgn]
    }
}

Site Stats

Snippets: 1791
Codebases: 571