コード例 #1
0
        public DragonSanctuarySamuraiMoonElf() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.1, 0.2)
        {
            SetStr(755, 788);
            SetDex(300, 500);
            SetInt(100, 200);

            SetHits(500, 600);

            SetDamage(12, 15);

            SetSkill(SkillName.Anatomy, 100.0);
            SetSkill(SkillName.MagicResist, 70.0);
            SetSkill(SkillName.Swords, 100.0);
            SetSkill(SkillName.Tactics, 100.0);

            Karma = 10000;

            m_Timer = new MoveTimer(this);
            ChangeLocation();

            PackItem(new Bandage(Utility.RandomMinMax(15, 20)));

            if (this.Female = Utility.RandomBool())
            {
                Name       = NameList.RandomName("elven female");
                Title      = "Svartalfar Samurai of Dragon Sanctuary";
                Body       = 606;
                Hue        = Utility.RandomList(897, 898, 899, 900, 901, 905, 990, 995, 996, 997, 998, 999, 2401, 2402, 2403, 2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411);
                HairHue    = 2405;
                HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239);

                EbonyMoonblade weapon = new EbonyMoonblade();
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35);
                weapon.Slayer = SlayerName.ReptilianDeath;
                weapon.WeaponAttributes.HitLightning = 25;
                weapon.Hue     = 0x4D5;
                weapon.Movable = true;
                AddItem(weapon);

                AmazonianFighterHelmet helmet = new AmazonianFighterHelmet();
                helmet.Movable = true;
                AddItem(helmet);

                AmazonianFighterBustier chest = new AmazonianFighterBustier();
                chest.Movable = true;
                AddItem(chest);

                AmazonianFighterGloves gloves = new AmazonianFighterGloves();
                gloves.Movable = true;
                AddItem(gloves);

                AddItem(new AmazonianFighterBelt());
                AddItem(new AmazonianFighterBoots());

                new Ridgeback().Rider = this;
            }
            else
            {
                Name       = NameList.RandomName("elven male");
                Title      = "Svartalfar Samurai of Dragon Sanctuary";
                Body       = 605;
                Hue        = Utility.RandomList(897, 898, 899, 900, 901, 905, 990, 995, 996, 997, 998, 999, 2401, 2402, 2403, 2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411);
                HairHue    = 2405;
                HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239);

                EbonyGlassBardiche weapon = new EbonyGlassBardiche();
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35);
                weapon.Slayer = SlayerName.ReptilianDeath;
                weapon.WeaponAttributes.HitLightning = 25;
                weapon.Hue     = 0x4D5;
                weapon.Movable = true;
                AddItem(weapon);

                DecorativePlateKabuto helm = new DecorativePlateKabuto();
                BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35);
                helm.Hue     = 0x4D5;
                helm.Movable = true;
                AddItem(helm);

                PlateMempo gorget = new PlateMempo();
                BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35);
                gorget.Hue     = 0x4D5;
                gorget.Movable = true;
                AddItem(gorget);

                PlateHiroSode arms = new PlateHiroSode();
                BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35);
                arms.Hue     = 0x4D5;
                arms.Movable = true;
                AddItem(arms);

                PlateDo chest = new PlateDo();
                BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35);
                chest.Hue     = 0x4D5;
                chest.Movable = true;
                AddItem(chest);

                PlateHaidate legs = new PlateHaidate();
                BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35);
                legs.Hue     = 0x4D5;
                legs.Movable = true;
                AddItem(legs);

                FurBoots boots = new FurBoots();
                BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35);
                boots.Hue     = 0x4D5;
                boots.Movable = true;
                AddItem(boots);

                new SavageRidgeback().Rider = this;
            }
        }
コード例 #2
0
        public AmazonianSpearFighter() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name       = "an amazonian spear fighter";
            Body       = 401;
            Female     = true;
            Race       = Race.Human;
            Hue        = Utility.RandomList(1025, 1027, 1028, 1029, 1035, 1041, 1049, 1051, 1058);
            HairItemID = 8252;
            HairHue    = Utility.RandomList(37, 38, 39, 40, 41);

            SetStr(148, 157);
            SetDex(106, 122);
            SetInt(34, 41);

            SetHits(100, 125);
            SetMana(100);

            SetDamage(2, 5);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Anatomy, 57.9, 62.4);
            SetSkill(SkillName.Fencing, 92.7, 98.1);
            SetSkill(SkillName.MagicResist, 42.1, 59.9);
            SetSkill(SkillName.Poisoning, 57.5, 62.6);
            SetSkill(SkillName.Tactics, 93.1, 98.6);

            Fame  = 2000;
            Karma = -2000;

            SpearSpinTimer.SpearSpinList.Add(this);

            AmazonianFighterHelmet helm = new AmazonianFighterHelmet();

            helm.Hue     = 138;
            helm.Movable = false;
            AddItem(helm);

            AmazonianFighterBustier chest = new AmazonianFighterBustier();

            chest.Hue     = 138;
            chest.Movable = false;
            AddItem(chest);

            AmazonianFighterGloves gloves = new AmazonianFighterGloves();

            gloves.Hue     = 138;
            gloves.Movable = false;
            AddItem(gloves);

            AmazonianFighterBelt belt = new AmazonianFighterBelt();

            belt.Hue     = 138;
            belt.Movable = false;
            AddItem(belt);

            AmazonianFighterBoots boots = new AmazonianFighterBoots();

            boots.Hue     = 138;
            boots.Movable = false;
            AddItem(boots);

            PackGold(53, 186);

            AddItem(new Spear());

            Container pack = new Backpack();

            pack.DropItem(new Pitcher(BeverageType.Water));
            pack.DropItem(new Gold(Utility.RandomMinMax(105, 425)));
            pack.DropItem(new Bandage(Utility.RandomMinMax(5, 10)));
            pack.DropItem(new FishScale(Utility.RandomMinMax(5, 9)));

            if (0.05 > Utility.RandomDouble())
            {
                pack.DropItem(new Peridot());
            }

            PackItem(pack);
        }
コード例 #3
0
        public DragonSanctuarySamuraiHuman() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.1, 0.2)
        {
            SetStr(755, 788);
            SetDex(300, 500);
            SetInt(100, 200);

            SetHits(500, 600);

            SetDamage(12, 15);

            SetSkill(SkillName.Anatomy, 100.0);
            SetSkill(SkillName.MagicResist, 70.0);
            SetSkill(SkillName.Swords, 100.0);
            SetSkill(SkillName.Tactics, 100.0);

            Karma = 10000;

            m_Timer = new MoveTimer(this);
            ChangeLocation();

            PackItem(new Bandage(Utility.RandomMinMax(15, 20)));

            if (this.Female = Utility.RandomBool())
            {
                Name       = NameList.RandomName("female");
                Title      = "Human Samurai of Dragon Sanctuary";
                Body       = 401;
                Hue        = Utility.RandomList(33784, 33785, 33788, 33791, 33794, 33798, 33800, 33805, 33806, 33808, 33815, 33821, 33822, 33824, 33825);
                HairHue    = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153);
                HairItemID = Utility.RandomList(8251, 8252, 8253, 8260, 8261, 8262, 8263, 8264, 8265);

                Daisho weapon = new Daisho();
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35);
                weapon.Slayer = SlayerName.ReptilianDeath;
                weapon.WeaponAttributes.HitLightning = 25;
                weapon.Hue     = 0x4D5;
                weapon.Movable = true;
                AddItem(weapon);

                AmazonianFighterHelmet helmet = new AmazonianFighterHelmet();
                helmet.Movable = true;
                AddItem(helmet);

                AmazonianFighterBustier chest = new AmazonianFighterBustier();
                chest.Movable = true;
                AddItem(chest);

                AmazonianFighterGloves gloves = new AmazonianFighterGloves();
                gloves.Movable = true;
                AddItem(gloves);

                AddItem(new AmazonianFighterBelt());
                AddItem(new AmazonianFighterBoots());

                new ForestOstard().Rider = this;
            }
            else
            {
                Name             = NameList.RandomName("male");
                Title            = "Human Samurai of Dragon Sanctuary";
                Body             = 400;
                Hue              = Utility.RandomList(33784, 33785, 33788, 33791, 33794, 33798, 33800, 33805, 33806, 33808, 33815, 33821, 33822, 33824, 33825);
                HairHue          = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153);
                HairItemID       = Utility.RandomList(8251, 8252, 8253, 8260, 8261, 8262, 8263, 8264, 8265);
                FacialHairHue    = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153);
                FacialHairItemID = Utility.RandomList(8254, 8255, 8256, 8257, 8267, 8268, 8269);

                NoDachi weapon = new NoDachi();
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35);
                weapon.Slayer = SlayerName.ReptilianDeath;
                weapon.WeaponAttributes.HitLightning = 25;
                weapon.Hue     = 0x4D5;
                weapon.Movable = true;
                AddItem(weapon);

                DecorativePlateKabuto helm = new DecorativePlateKabuto();
                BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35);
                helm.Hue     = 0x4D5;
                helm.Movable = true;
                AddItem(helm);

                PlateMempo gorget = new PlateMempo();
                BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35);
                gorget.Hue     = 0x4D5;
                gorget.Movable = true;
                AddItem(gorget);

                PlateHiroSode arms = new PlateHiroSode();
                BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35);
                arms.Hue     = 0x4D5;
                arms.Movable = true;
                AddItem(arms);

                PlateDo chest = new PlateDo();
                BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35);
                chest.Hue     = 0x4D5;
                chest.Movable = true;
                AddItem(chest);

                PlateHaidate legs = new PlateHaidate();
                BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35);
                legs.Hue     = 0x4D5;
                legs.Movable = true;
                AddItem(legs);

                FurBoots boots = new FurBoots();
                BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35);
                boots.Hue     = 0x4D5;
                boots.Movable = true;
                AddItem(boots);

                new FrenziedOstard().Rider = this;
            }
        }
コード例 #4
0
        public AmazonianGuardBreaker() : base(AIType.AI_Melee, FightMode.Closest, 5, 1, 0.2, 0.4)
        {
            Name       = "an amazonian guard breaker";
            Body       = 401;
            Female     = true;
            Race       = Race.Human;
            Hue        = Utility.RandomList(1025, 1027, 1028, 1029, 1035, 1041, 1049, 1051, 1058);
            HairItemID = 8252;
            HairHue    = Utility.RandomList(37, 38, 39, 40, 41);

            SetStr(225, 250);
            SetDex(159, 178);
            SetInt(69, 73);

            SetHits(425, 550);

            SetDamage(17, 22);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Anatomy, 63.4, 71.0);
            SetSkill(SkillName.Healing, 45.8, 60.2);
            SetSkill(SkillName.MagicResist, 53.6, 64.1);
            SetSkill(SkillName.Swords, 96.9, 105.5);
            SetSkill(SkillName.Tactics, 89.7, 107.4);

            Fame  = 35000;
            Karma = -35000;

            SpearSpinTimer.SpearSpinList.Add(this);

            new SwampDragon().Rider = this;

            AmazonianFighterHelmet helm = new AmazonianFighterHelmet();

            helm.Hue     = 138;
            helm.Movable = false;
            AddItem(helm);

            AmazonianFighterBustier chest = new AmazonianFighterBustier();

            chest.Hue     = 138;
            chest.Movable = false;
            AddItem(chest);

            AmazonianFighterGloves gloves = new AmazonianFighterGloves();

            gloves.Hue     = 138;
            gloves.Movable = false;
            AddItem(gloves);

            AmazonianFighterBelt belt = new AmazonianFighterBelt();

            belt.Hue     = 138;
            belt.Movable = false;
            AddItem(belt);

            AmazonianFighterBoots boots = new AmazonianFighterBoots();

            boots.Hue     = 138;
            boots.Movable = false;
            AddItem(boots);

            PackItem(new Bandage(Utility.RandomMinMax(15, 25)));

            PackGold(26, 43);
            AddItem(new Halberd());

            if (Utility.RandomDouble() < 0.1)
            {
                PackItem(new TreasureMap(1, Map.Malas));
            }

            Container pack = new Backpack();

            pack.DropItem(new Gold(Utility.RandomMinMax(515, 828)));
            pack.DropItem(new Bandage(Utility.RandomMinMax(5, 10)));
            pack.DropItem(new FishScale(Utility.RandomMinMax(12, 16)));
            pack.DropItem(new Peridot(Utility.RandomMinMax(15, 24)));

            PackItem(pack);
        }
コード例 #5
0
        public DragonSanctuarySamuraiSunElf() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.1, 0.2)
        {
            SetStr(755, 788);
            SetDex(300, 500);
            SetInt(100, 200);

            SetHits(500, 600);

            SetDamage(12, 15);

            SetSkill(SkillName.Anatomy, 100.0);
            SetSkill(SkillName.MagicResist, 70.0);
            SetSkill(SkillName.Swords, 100.0);
            SetSkill(SkillName.Tactics, 100.0);

            Karma = 10000;

            m_Timer = new MoveTimer(this);
            ChangeLocation();

            PackItem(new Bandage(Utility.RandomMinMax(15, 20)));

            if (this.Female = Utility.RandomBool())
            {
                Name       = NameList.RandomName("elven female");
                Title      = "Ljosalfar Samurai of Dragon Sanctuary";
                Body       = 606;
                Hue        = Utility.RandomList(1002, 1003, 1009, 1010, 1011, 1016, 1017, 1023, 1030);
                HairHue    = Utility.RandomList(1502, 1507, 1513, 2213, 2216, 2218);
                HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239);

                RadiantScimitar weapon = new RadiantScimitar();
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35);
                weapon.Slayer = SlayerName.ReptilianDeath;
                weapon.WeaponAttributes.HitLightning = 25;
                weapon.Hue     = 0x4D5;
                weapon.Movable = true;
                AddItem(weapon);

                AmazonianFighterHelmet helmet = new AmazonianFighterHelmet();
                helmet.Movable = true;
                AddItem(helmet);

                AmazonianFighterBustier chest = new AmazonianFighterBustier();
                chest.Movable = true;
                AddItem(chest);

                AmazonianFighterGloves gloves = new AmazonianFighterGloves();
                gloves.Movable = true;
                AddItem(gloves);

                AddItem(new AmazonianFighterBelt());
                AddItem(new AmazonianFighterBoots());

                new Unicorn().Rider = this;
            }
            else
            {
                Name       = NameList.RandomName("elven male");
                Title      = "Ljosalfar Samurai of Dragon Sanctuary";
                Body       = 605;
                Hue        = Utility.RandomList(1002, 1003, 1009, 1010, 1011, 1016, 1017, 1023, 1030);
                HairHue    = Utility.RandomList(1502, 1507, 1513, 2213, 2216, 2218);
                HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239);

                SetSkill(SkillName.Fencing, 100.0);

                WarCleaver weapon = new WarCleaver();
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35);
                weapon.Slayer = SlayerName.ReptilianDeath;
                weapon.WeaponAttributes.HitLightning = 25;
                weapon.Hue     = 0x4D5;
                weapon.Movable = true;
                AddItem(weapon);

                DecorativePlateKabuto helm = new DecorativePlateKabuto();
                BaseRunicTool.ApplyAttributesTo(helm, 5, 25, 35);
                helm.Hue     = 0x4D5;
                helm.Movable = true;
                AddItem(helm);

                PlateMempo gorget = new PlateMempo();
                BaseRunicTool.ApplyAttributesTo(gorget, 5, 25, 35);
                gorget.Hue     = 0x4D5;
                gorget.Movable = true;
                AddItem(gorget);

                PlateHiroSode arms = new PlateHiroSode();
                BaseRunicTool.ApplyAttributesTo(arms, 5, 25, 35);
                arms.Hue     = 0x4D5;
                arms.Movable = true;
                AddItem(arms);

                PlateDo chest = new PlateDo();
                BaseRunicTool.ApplyAttributesTo(chest, 5, 25, 35);
                chest.Hue     = 0x4D5;
                chest.Movable = true;
                AddItem(chest);

                PlateHaidate legs = new PlateHaidate();
                BaseRunicTool.ApplyAttributesTo(legs, 5, 25, 35);
                legs.Hue     = 0x4D5;
                legs.Movable = true;
                AddItem(legs);

                FurBoots boots = new FurBoots();
                BaseRunicTool.ApplyAttributesTo(boots, 5, 25, 35);
                boots.Hue     = 0x4D5;
                boots.Movable = true;
                AddItem(boots);

                new Kirin().Rider = this;
            }
        }