コード例 #1
0
        public Dracula2() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Title = "Lord of the Dead";
            Name  = ("Dracula2");
            Body  = 400;
            Hue   = 0;            // Pale Hue

            SetStr(900, 1200);
            SetDex(150, 180);
            SetInt(960, 1200);

            SetHits(1200, 1600);

            SetDamage(10, 12);

            SetResistance(ResistanceType.Physical, 0, 1);
            SetResistance(ResistanceType.Fire, 35);
            SetResistance(ResistanceType.Poison, 60);
            SetResistance(ResistanceType.Energy, 60);
            SetResistance(ResistanceType.Cold, 60);

            SetSkill(SkillName.EvalInt, 150.0, 175.0);
            SetSkill(SkillName.Tactics, 120.0, 145.0);
            SetSkill(SkillName.MagicResist, 120.0, 145.0);
            SetSkill(SkillName.Wrestling, 130.0, 155.0);
            SetSkill(SkillName.Meditation, 120.0, 155.0);
            SetSkill(SkillName.Focus, 120.0, 155.0);
            SetSkill(SkillName.Magery, 150.0, 175.0);

            Fame  = -15000;
            Karma = -25000;

            VirtualArmor = 10;

            Sandals sandals = new Sandals();

            sandals.Hue = 1;
            EquipItem(sandals);

            DraculasShroud DraculasShroud = new DraculasShroud();

            DraculasShroud.Hue = 1;
            EquipItem(DraculasShroud);


            m_Timer = new TeleportTimer(this);
            m_Timer.Start();
            m_FieldActive = CanUseField;
        }
コード例 #2
0
        public ForgottenOneMage() : base(AIType.AI_Mage, FightMode.Good, 10, 1, 0.2, 0.4)
        {
            Title  = "a ForgottenOne Mage";
            Name   = NameList.RandomName("male");
            Body   = 0x191;
            Hue    = 33805;
            Female = false;

            SetStr(1025, 1425);
            SetDex(81, 148);
            SetInt(475, 675);

            Fame  = -1000;
            Karma = -1000;

            SetHits(1000, 2000);

            SetDamage(24, 33);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 60, 85);
            SetResistance(ResistanceType.Fire, 65, 90);
            SetResistance(ResistanceType.Cold, 40, 55);
            SetResistance(ResistanceType.Poison, 40, 60);
            SetResistance(ResistanceType.Energy, 50, 75);

            SetSkill(SkillName.Archery, 100, 140);
            SetSkill(SkillName.Tactics, 100, 140);
            SetSkill(SkillName.MagicResist, 100, 140);
            SetSkill(SkillName.Tactics, 100, 140);
            SetSkill(SkillName.Wrestling, 100, 140);
            SetSkill(SkillName.Swords, 100, 140);
            SetSkill(SkillName.Magery, 100, 140);
            SetSkill(SkillName.Focus, 100, 140);
            SetSkill(SkillName.EvalInt, 100, 140);
            VirtualArmor = 80;

            GlacialStaff glacialstaff = new GlacialStaff();

            glacialstaff.Movable = false;
            AddItem(glacialstaff);

            HumilityCloak cloak = new HumilityCloak();

            cloak.Movable = false;
            AddItem(cloak);

            SpiritualityHelm spiritualityhelm = new SpiritualityHelm();

            spiritualityhelm.Movable = false;
            AddItem(spiritualityhelm);

            HonestyGorget honestygorget = new HonestyGorget();

            honestygorget.Movable = false;
            AddItem(honestygorget);

            JusticeBreastplate justicebreastplate = new JusticeBreastplate();

            justicebreastplate.Movable = false;
            AddItem(justicebreastplate);

            BodySash bodysash = new BodySash();

            bodysash.Movable = false;
            bodysash.Name    = "ForgottenOne";
            AddItem(bodysash);

            CompassionArms compassionarms = new CompassionArms();

            compassionarms.Movable = false;
            AddItem(compassionarms);

            ValorGauntlets valorgauntlets = new ValorGauntlets();

            valorgauntlets.Movable = false;
            AddItem(valorgauntlets);

            HonorLegs honorlegs = new HonorLegs();

            honorlegs.Movable = false;
            AddItem(honorlegs);

            SacrificeSollerets sacrificesollerets = new SacrificeSollerets();

            sacrificesollerets.Movable = false;
            AddItem(sacrificesollerets);

            DraculasShroud draculasshroud = new DraculasShroud();

            draculasshroud.Movable = false;
            AddItem(draculasshroud);

//          PlateChest chest = new PlateChest();
//			chest.Movable = false;
//			chest.Hue = 137;
//          AddItem(chest);


            VampiriacSteed vampiriacsteed = new VampiriacSteed();

            vampiriacsteed.Hue = 2412;
            //horse.Hits = 200;
            //horse.Karma = 500;
            vampiriacsteed.Rider = this;

            //new VampiriacSteed().Rider = this;
            glacialstaff.Hue       = 2412;
            cloak.Hue              = 2412;
            spiritualityhelm.Hue   = 137;
            honestygorget.Hue      = 137;
            justicebreastplate.Hue = 137;
            bodysash.Hue           = 2412;
            compassionarms.Hue     = 137;
            valorgauntlets.Hue     = 137;
            honorlegs.Hue          = 137;
            sacrificesollerets.Hue = 137;
            draculasshroud.Hue     = 137;
        }