Beispiel #1
0
        public static PlayerSetup.Player GoblinWarrior()
        {
            var leatherVest = LeatherBody.LeatherVest();

            leatherVest.location = Item.Item.ItemLocation.Worn;

            var rustedSword = ShortSwordBasic.RustedShortSword();

            rustedSword.location = Item.Item.ItemLocation.Wield;
            rustedSword.stats    = new Stats()
            {
                damMax        = 12,
                damMin        = 2,
                damRoll       = 1,
                minUsageLevel = 1,
                worth         = 1
            };

            var WeakGoblin = new PlayerSetup.Player
            {
                NPCId        = Guid.NewGuid(),
                Name         = "A goblin warrior",
                NPCLongName  = "A strong goblin snarls at you",
                KnownByName  = true,
                Type         = PlayerSetup.Player.PlayerTypes.Mob,
                Description  = "A strong goblin",
                Strength     = 20,
                Dexterity    = 13,
                Constitution = 12,
                Intelligence = 4,
                Wisdom       = 5,
                Charisma     = 2,
                MaxHitPoints = 100,
                HitPoints    = 100,
                Level        = 5,
                Aggro        = true,
                Status       = PlayerSetup.Player.PlayerStatus.Standing,
                Skills       = new List <Skill>(),
                Inventory    = new ItemContainer()
                {
                    leatherVest,
                    rustedSword
                },
                Equipment = new Equipment()
                {
                    Body    = leatherVest.name,
                    Wielded = rustedSword.name
                },
                Trainer      = false,
                DialogueTree = new List <DialogTree>(),
                Dialogue     = new List <Responses>(),
                Quest        = new List <Quest>()
            };



            return(WeakGoblin);
        }
Beispiel #2
0
        public static PlayerSetup.Player WeakGoblin()
        {
            var leatherVest = LeatherBody.LeatherVest();

            leatherVest.location = Item.Item.ItemLocation.Worn;

            var rustedSword = ShortSwordBasic.RustedShortSword();

            rustedSword.location = Item.Item.ItemLocation.Wield;

            var shield = ShieldBasic.WoodenShield();

            shield.location = Item.Item.ItemLocation.Worn;

            var WeakGoblin = new PlayerSetup.Player
            {
                NPCId        = Guid.NewGuid(),
                Name         = "A skinny hunched Goblin",
                NPCLongName  = "A skinny hunched goblin snarls at you",
                KnownByName  = true,
                Type         = PlayerSetup.Player.PlayerTypes.Mob,
                Description  = "A weak goblin",
                Strength     = 25,
                Dexterity    = 25,
                Constitution = 30,
                Intelligence = 30,
                Wisdom       = 30,
                Charisma     = 30,
                MaxHitPoints = 7,
                HitPoints    = 7,
                Level        = 1,
                Status       = PlayerSetup.Player.PlayerStatus.Standing,
                Skills       = new List <Skill>()
                {
                    ShortBlades.ShortBladesAb()
                },
                Inventory = new ItemContainer()
                {
                    leatherVest,
                    rustedSword,
                    shield
                },
                Equipment = new Equipment()
                {
                    Body    = leatherVest.name,
                    Wielded = rustedSword.name,
                    Shield  = shield.name
                },
                Trainer      = false,
                DialogueTree = new List <DialogTree>(),
                Dialogue     = new List <Responses>(),
                Quest        = new List <Quest>()
            };



            return(WeakGoblin);
        }
        public void SetUp()
        {
            var vest = LeatherBody.LeatherVest();

            vestName = vest.name;

            var sword = ShortSwordBasic.RustedShortSword();

            swordName = sword.name;

            container.Add(vest);
            container.Add(sword);
            container.Add(sword);
        }