Ejemplo n.º 1
0
        private INonPlayerCharacter TunnelGoblin()
        {
            INonPlayerCharacter npc = CreateNonplayerCharacter(MobType.Humanoid);

            npc.LevelRange = new LevelRange()
            {
                LowerLevel = 14, UpperLevel = 16
            };

            npc.Personalities.Add(new Aggressive());
            npc.Personalities.Add(new Wanderer());

            npc.ExamineDescription  = "The goblin is armed to the teeth and appears to be on some type of war patrol.";
            npc.LookDescription     = "A well armed goblin appears before you with weapon drawn.";
            npc.ShortDescription    = "An armed goblin.";
            npc.SentenceDescription = "goblin";
            npc.KeyWords.Add("goblin");

            npc.AddEquipment(Dogslicer());
            npc.AddEquipment(Bracer());
            npc.AddEquipment(ChainMail());
            npc.AddEquipment(Helmet());
            npc.AddEquipment(LeathPants());
            return(npc);
        }
Ejemplo n.º 2
0
        private INonPlayerCharacter Balrog()
        {
            INonPlayerCharacter npc = CreateNonplayerCharacter(MobType.Humanoid, 87);

            npc.KeyWords.Add("Balrog");
            npc.Personalities.Add(new Aggressive());
            npc.Personalities.Add(new Wanderer());

            npc.ExamineDescription  = "The demon is ablaze with fire will smoke hides its true form from view.";
            npc.LookDescription     = "A large demon of fire and smoke standing twenty feet tall.";
            npc.ShortDescription    = "A large flaming Balrog.";
            npc.SentenceDescription = "Balrog";

            npc.Enchantments.Add(FireAura());
            npc.AddEquipment(BalrogSword());

            npc.Race.Fire      = decimal.MaxValue;
            npc.Race.Poison    = decimal.MaxValue;
            npc.Race.Cold      = 1.5M;
            npc.Race.Lightning = 1.5M;
            npc.Race.Bludgeon  = 1.5M;
            npc.Race.Pierce    = 1.5M;
            npc.Race.Slash     = 1.5M;

            return(npc);
        }
Ejemplo n.º 3
0
        private IRoom GenerateRoom17()
        {
            IRoom room = LibraryBasement();

            INonPlayerCharacter apprentice = Female_Apprentice();

            room.AddMobileObjectToRoom(apprentice);
            apprentice.Room = room;
            apprentice.AddEquipment(WizardStaff());

            return(room);
        }