Пример #1
0
        public Classes(
            Class newCharacterClass,
            FactionRaceGender newRace)
        {
            if (newCharacterClass.Equals(new Classes(Classes.Class.Warrior).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Pandaren).ARace) ||
                                                                                                newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Pandaren).HRace) ||
                                                                                                newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Tauren).HRace) ||
                                                                                                newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Warlock).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                     newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                     newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                     newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                     newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                     newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                     newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                     newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                     newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Shaman).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Pandaren).ARace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Pandaren).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Rouge).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                   newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                   newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                   newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                   newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Pandaren).ARace) ||
                                                                                                   newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Pandaren).HRace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Priest).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Pandaren).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Pandaren).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Tauren).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Paladin).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                     newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                     newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                     newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                     newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Tauren).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Monk).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Pandaren).ARace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Pandaren).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Tauren).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Mage).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Pandaren).ARace) ||
                                                                                                  newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Pandaren).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                  newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Hunter).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Pandaren).ARace) ||
                                                                                                    newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Pandaren).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Tauren).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                    newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.Druid).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                   newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Tauren).HRace) ||
                                                                                                   newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.DemonHunter).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                         newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace)))
            {
                this.characterClass = newCharacterClass;
            }

            else if (newCharacterClass.Equals(new Classes(Classes.Class.DeathKnight).CharacterClass) && (newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Draenei).ARace) ||
                                                                                                         newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Dwarf).ARace) ||
                                                                                                         newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Gnome).ARace) ||
                                                                                                         newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Human).ARace) ||
                                                                                                         newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.NightElf).ARace) ||
                                                                                                         newRace.ARace.Equals(new FactionRaceGender(FactionRaceGender.AllianceRaces.Worgen).ARace) ||
                                                                                                         newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.BloodElf).HRace) ||
                                                                                                         newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Goblin).HRace) ||
                                                                                                         newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Orc).HRace) ||
                                                                                                         newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Tauren).HRace) ||
                                                                                                         newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Troll).HRace) ||
                                                                                                         newRace.HRace.Equals(new FactionRaceGender(FactionRaceGender.HordeRaces.Undead).HRace)))
            {
                this.characterClass = newCharacterClass;
            }
        }
Пример #2
0
        //Create Hero-------------------------
        public Character(
            string newUserName,
            Hair newHair,
            Eyes newEyes,
            BodyAndSkin newBodyAndSkin,
            FactionRaceGender newFaction,
            Classes newCharacterClass
            )
        {
            this.userName          = newUserName;
            this.hair              = newHair;
            this.eyes              = newEyes;
            this.bodyAndSkin       = newBodyAndSkin;
            this.factionRaceGender = newFaction;
            this.characterClass    = newCharacterClass;
            this.checkHero         = true;



            //Setting weapon----------------------------------------------------------------------------------------------
            if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Warrior).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Axe);
                spellBook.Add(new Spells(Spells.Warrior.HeroicStrike));
                spellBook.Add(new Spells(Spells.Warrior.Execute));
                spellBook.Add(new Spells(Spells.Warrior.GladiatorRage));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 400;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.DeathKnight).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Sword);
                spellBook.Add(new Spells(Spells.DeathKnight.DeathStrike));
                spellBook.Add(new Spells(Spells.DeathKnight.Lifesteal));
                spellBook.Add(new Spells(Spells.DeathKnight.ArmyOfTheDead));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 400;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Paladin).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Hammer);
                spellBook.Add(new Spells(Spells.Paladin.DivineShield));
                spellBook.Add(new Spells(Spells.Paladin.Judgment));
                spellBook.Add(new Spells(Spells.Paladin.AvengingWrath));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 400;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.DemonHunter).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.TwinBlades);
                spellBook.Add(new Spells(Spells.DemonHunter.DemonSkin));
                spellBook.Add(new Spells(Spells.DemonHunter.DoubleSlash));
                spellBook.Add(new Spells(Spells.DemonHunter.DemonicInfusion));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 500;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 110;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Druid).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Staff);
                spellBook.Add(new Spells(Spells.Druid.Regrowth));
                spellBook.Add(new Spells(Spells.Druid.Swipe));
                spellBook.Add(new Spells(Spells.Druid.StarFire));
                //-----------------
                health    = 800;
                healthCap = health;
                mana      = 500;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Mage).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Staff);
                spellBook.Add(new Spells(Spells.Mage.FireBall));
                spellBook.Add(new Spells(Spells.Mage.PyroBlast));
                spellBook.Add(new Spells(Spells.Mage.LivingBomb));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 1000;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Warlock).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Staff);
                spellBook.Add(new Spells(Spells.Warlock.ChaosBolt));
                spellBook.Add(new Spells(Spells.Warlock.DrainLife));
                spellBook.Add(new Spells(Spells.Warlock.SacrificeDemon));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 1000;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Priest).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Staff);
                spellBook.Add(new Spells(Spells.Priest.Heal));
                spellBook.Add(new Spells(Spells.Priest.Smite));
                spellBook.Add(new Spells(Spells.Priest.MindControl));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 1000;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Hunter).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Bow);
                spellBook.Add(new Spells(Spells.Hunter.SteadyShot));
                spellBook.Add(new Spells(Spells.Hunter.FireTrap));
                spellBook.Add(new Spells(Spells.Hunter.ChimeraShot));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 500;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 100;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Monk).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Polearm);
                spellBook.Add(new Spells(Spells.Monk.BlackoutKick));
                spellBook.Add(new Spells(Spells.Monk.FlyingSerpentKick));
                spellBook.Add(new Spells(Spells.Monk.Meditaion));
                //-----------------
                health    = 800;
                healthCap = health;
                mana      = 500;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Shaman).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.FistWeapon);
                spellBook.Add(new Spells(Spells.Shaman.LavaBurst));
                spellBook.Add(new Spells(Spells.Shaman.LightningBolt));
                spellBook.Add(new Spells(Spells.Shaman.Vulcano));
                //-----------------
                health    = 800;
                healthCap = health;
                mana      = 500;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 0;
            }
            else if (characterClass.CharacterClass.Equals(new Classes(Classes.Class.Rouge).CharacterClass))
            {
                this.weapon = new Item(Item.KindOfItem.Weapon, Item.KindOfWeapon.Daggers);
                spellBook.Add(new Spells(Spells.Rogue.Backstab));
                spellBook.Add(new Spells(Spells.Rogue.Eviscerate));
                spellBook.Add(new Spells(Spells.Rogue.ShadowDance));
                //-----------------
                health    = 400;
                healthCap = health;
                mana      = 500;
                manaCap   = mana;
                this.weapon.ItemValueGetSet += 100;
            }
            //Setting equipment--------------------------------------------------------------------------------------
            this.head      = new Item(Item.KindOfItem.Armory, Item.KindOfArmory.Head, this.characterClass);
            this.shoulders = new Item(Item.KindOfItem.Armory, Item.KindOfArmory.Sholders, this.characterClass);
            this.chest     = new Item(Item.KindOfItem.Armory, Item.KindOfArmory.Hands, this.characterClass);
            this.hands     = new Item(Item.KindOfItem.Armory, Item.KindOfArmory.Hands, this.characterClass);
            this.legs      = new Item(Item.KindOfItem.Armory, Item.KindOfArmory.Legs, this.characterClass);
            this.feet      = new Item(Item.KindOfItem.Armory, Item.KindOfArmory.Feet, this.characterClass);
            this.armor    += armorValueFromEquipment();
            this.armorCap  = armor;
        }