示例#1
0
        public GooeyMaggots()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "Gooey Maggots";
            Body        = 319;
            BaseSoundID = 898;

            SetStr(738, 763);
            SetDex(61, 70);
            SetInt(10);

            SetMana(0);

            SetDamage(3, 9);

            SetDamageType(ResistanceType.Physical, 50);
            SetDamageType(ResistanceType.Poison, 50);

            SetResistance(ResistanceType.Physical, 60, 70);
            SetResistance(ResistanceType.Fire, 60, 70);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 60, 70);
            SetResistance(ResistanceType.Energy, 60, 70);

            SetSkill(SkillName.Tactics, 80.2, 89.7);
            SetSkill(SkillName.Wrestling, 80.2, 87.5);

            Fame  = 1000;
            Karma = -1000;

            Timer selfDeleteTimer = new InternalSelfDeleteTimer(this);

            selfDeleteTimer.Start();
        }
        public MercutioTheUnsavory()
            : base()
        {
            m_Instances.Add(this);

            this.Name  = "Mercutio";
            this.Title = "The Unsavory";

            this.SetStr(120, 150);
            this.SetDex(101, 125);
            this.SetInt(61, 75);
            this.Hits = 200;

            this.SetDamage(11, 24);

            this.SetSkill(SkillName.Fencing, 106.0, 117.5);
            this.SetSkill(SkillName.Macing, 105.0, 117.5);
            this.SetSkill(SkillName.MagicResist, 50.0, 90.5);
            this.SetSkill(SkillName.Swords, 105.0, 117.5);
            this.SetSkill(SkillName.Tactics, 105.0, 117.5);
            this.SetSkill(SkillName.Wrestling, 55.0, 87.5);

            this.Fame  = 3000;
            this.Karma = -3000;

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#3
0
        public OrcEngineer()
            : base()
        {
            m_Instances.Add(this);

            this.Title = "the Orcish Engineer";

            this.SetStr(500, 510);
            this.SetDex(200, 210);
            this.SetInt(200, 210);

            this.SetHits(3520);

            this.SetDamage(8, 14);

            this.SetDamageType(ResistanceType.Physical, 100);

            this.SetResistance(ResistanceType.Physical, 65, 70);
            this.SetResistance(ResistanceType.Fire, 65, 70);
            this.SetResistance(ResistanceType.Cold, 65, 70);
            this.SetResistance(ResistanceType.Poison, 60);
            this.SetResistance(ResistanceType.Energy, 65, 70);

            this.SetSkill(SkillName.Anatomy, 20);
            this.SetSkill(SkillName.MagicResist, 72.6);
            this.SetSkill(SkillName.Tactics, 114.6);
            this.SetSkill(SkillName.Wrestling, 115.5);

            this.Fame  = 1500;
            this.Karma = -1500;

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#4
0
        public IncredibleHulk() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "the incredible hulk";
            Body        = 83;
            BaseSoundID = 0x16a;            //was 427
            Hue         = 2212;
            SetStr(666, 666);
            SetDex(545, 566);
            SetInt(46, 70);
            SetHits(1400, 4200);
            SetDamage(30, 35);
            SetDamageType(ResistanceType.Physical, 100);
            SetResistance(ResistanceType.Physical, 100);
            SetResistance(ResistanceType.Fire, 80);
            SetResistance(ResistanceType.Cold, 80);
            SetResistance(ResistanceType.Poison, 100);
            SetResistance(ResistanceType.Energy, 90);
            SetSkill(SkillName.MagicResist, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.Wrestling, 100.0, 120.0);
            Fame         = 20000;
            Karma        = -20000;
            VirtualArmor = 80;
            PackGem(10);
            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
		public IncredibleHulk () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
			{
			Name = "the incredible hulk";
			Body = 83;
			BaseSoundID = 0x16a;//was 427
			Hue = 2212;
			SetStr( 666, 666 );
			SetDex( 545, 566 );
			SetInt( 46, 70 );
			SetHits( 1400, 4200 );
			SetDamage( 30, 35 );
			SetDamageType( ResistanceType.Physical, 100 );
			SetResistance( ResistanceType.Physical, 100 );
			SetResistance( ResistanceType.Fire, 80 );
			SetResistance( ResistanceType.Cold, 80 );
			SetResistance( ResistanceType.Poison, 100 );
			SetResistance( ResistanceType.Energy, 90 );
			SetSkill( SkillName.MagicResist, 125.1, 140.0 );
			SetSkill( SkillName.Tactics, 90.1, 100.0 );
			SetSkill( SkillName.Wrestling, 100.0, 120.0 );
			Fame = 20000;
			Karma = -20000;
			VirtualArmor = 80;
			PackGem(10);
			Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);
			SelfDeleteTimer.Start();
		}
示例#6
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int   version         = reader.ReadInt();
            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#7
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            reader.ReadInt();

            Instances = new List <ObsidianWyvern>();
            Instances.Add(this);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#8
0
        public Shadowlord()
            : base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Instances.Add(this);

            m_Type = (ShadowlordType)Utility.Random(3);
            Name   = m_Type.ToString();

            Body        = 146;
            BaseSoundID = 0x4B0;

            SetStr(981, 1078);
            SetDex(1003, 1114);
            SetInt(1098, 1245);

            SetHits(50000, 55000);
            SetStam(1003, 1114);

            SetDamage(35, 41);

            SetDamageType(ResistanceType.Physical, 20);
            SetDamageType(ResistanceType.Fire, 20);
            SetDamageType(ResistanceType.Cold, 20);
            SetDamageType(ResistanceType.Poison, 20);
            SetDamageType(ResistanceType.Energy, 20);

            SetResistance(ResistanceType.Physical, 70, 80);
            SetResistance(ResistanceType.Fire, 70, 80);
            SetResistance(ResistanceType.Cold, 70, 80);
            SetResistance(ResistanceType.Poison, 70, 80);
            SetResistance(ResistanceType.Energy, 70, 80);

            SetSkill(SkillName.EvalInt, 140.0);
            SetSkill(SkillName.Magery, 120.0);
            SetSkill(SkillName.Meditation, 140.0);
            SetSkill(SkillName.MagicResist, 110.2, 120.0);
            SetSkill(SkillName.Tactics, 110.1, 115.0);
            SetSkill(SkillName.Wrestling, 110.1, 115.0);
            SetSkill(SkillName.Necromancy, 120.0);
            SetSkill(SkillName.SpiritSpeak, 120.0);
            SetSkill(SkillName.Anatomy, 10.0, 20.0);

            Fame  = 24000;
            Karma = -24000;

            VirtualArmor = 20;
            Hue          = 902;
            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            SetSpecialAbility(SpecialAbility.LifeDrain);
        }
示例#9
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            Instances = new List <MercutioTheUnsavory>();
            Instances.Add(this);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#10
0
        public ObsidianWyvern()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "obsidian wyvern";
            Body        = 0x2E;
            Hue         = 1910;
            BaseSoundID = 362;

            SetStr(1377, 1450);
            SetDex(125, 180);
            SetInt(780, 900);

            SetHits(1225, 1400);

            SetDamage(29, 35);

            SetDamageType(ResistanceType.Physical, 75);
            SetDamageType(ResistanceType.Fire, 25);

            SetResistance(ResistanceType.Physical, 67);
            SetResistance(ResistanceType.Fire, 80, 90);
            SetResistance(ResistanceType.Cold, 70, 80);
            SetResistance(ResistanceType.Poison, 60, 70);
            SetResistance(ResistanceType.Energy, 60, 70);

            SetSkill(SkillName.Magery, 108.7, 115.0);
            SetSkill(SkillName.Meditation, 60.0, 87.6);
            SetSkill(SkillName.EvalInt, 110.0, 115.0);
            SetSkill(SkillName.Wrestling, 110.0, 115.0);
            SetSkill(SkillName.Tactics, 119.6, 125.0);
            SetSkill(SkillName.MagicResist, 115.0, 130.8);
            SetSkill(SkillName.Parry, 75.0, 85.0);
            SetSkill(SkillName.DetectHidden, 100.0);

            Fame  = 24000;
            Karma = -24000;

            VirtualArmor = 70;

            if (Instances == null)
            {
                Instances = new List <ObsidianWyvern>();
            }

            Instances.Add(this);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            SetSpecialAbility(SpecialAbility.DragonBreath);
        }
示例#11
0
        public MercutioTheUnsavory()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body   = 0x190;
            Hue    = Utility.RandomSkinHue();
            Name   = "Mercutio";
            Title  = "The Unsavory";
            Female = false;

            SetStr(1000, 1300);
            SetDex(101, 125);
            SetInt(61, 75);

            SetDamage(11, 24);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 10, 15);
            SetResistance(ResistanceType.Fire, 10, 15);
            SetResistance(ResistanceType.Poison, 10, 15);
            SetResistance(ResistanceType.Energy, 10, 15);

            SetSkill(SkillName.Fencing, 106.0, 117.5);
            SetSkill(SkillName.Macing, 105.0, 117.5);
            SetSkill(SkillName.MagicResist, 50.0, 90.5);
            SetSkill(SkillName.Swords, 105.0, 117.5);
            SetSkill(SkillName.Parry, 105.0, 117.5);
            SetSkill(SkillName.Tactics, 105.0, 117.5);
            SetSkill(SkillName.Wrestling, 55.0, 87.5);

            Fame  = 3000;
            Karma = -3000;

            if (Instances == null)
            {
                Instances = new List <MercutioTheUnsavory>();
            }

            Instances.Add(this);

            AddImmovableItem(new Cutlass());
            AddImmovableItem(new ChainChest());
            AddImmovableItem(Loot.RandomShield());
            AddImmovableItem(new ShortPants(Utility.RandomNeutralHue()));
            AddImmovableItem(new Boots(Utility.RandomNeutralHue()));

            Utility.AssignRandomHair(this);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#12
0
        public TheMasterInstructor(SorcerersPlateController controller)
            : base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Instances.Add(this);
            m_Controller = controller;

            this.Name        = "Anshu";
            this.Title       = "The Master Instructor";
            this.Body        = 0x4e;
            this.BaseSoundID = 412;
            this.Hue         = 1284;

            this.SetStr(216, 305);
            this.SetDex(96, 115);
            this.SetInt(966, 1045);

            this.SetHits(700, 800);

            this.SetDamage(15, 27);

            this.SetDamageType(ResistanceType.Physical, 20);
            this.SetDamageType(ResistanceType.Cold, 40);
            this.SetDamageType(ResistanceType.Energy, 40);

            this.SetResistance(ResistanceType.Physical, 55, 65);
            this.SetResistance(ResistanceType.Fire, 30, 40);
            this.SetResistance(ResistanceType.Cold, 50, 60);
            this.SetResistance(ResistanceType.Poison, 50, 60);
            this.SetResistance(ResistanceType.Energy, 50, 60);

            this.SetSkill(SkillName.EvalInt, 120.1, 130.0);
            this.SetSkill(SkillName.Magery, 120.1, 130.0);
            this.SetSkill(SkillName.Meditation, 100.1, 101.0);
            this.SetSkill(SkillName.Poisoning, 100.1, 101.0);
            this.SetSkill(SkillName.MagicResist, 175.2, 200.0);
            this.SetSkill(SkillName.Tactics, 90.1, 100.0);
            this.SetSkill(SkillName.Wrestling, 75.1, 100.0);
            this.SetSkill(SkillName.Necromancy, 120.0);
            this.SetSkill(SkillName.SpiritSpeak, 120.0);
            this.SetSkill(SkillName.DetectHidden, 100.0);

            this.Fame  = 23000;
            this.Karma = -23000;

            this.VirtualArmor = 60;
            this.PackNecroReg(30, 275);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#13
0
文件: Djinn.cs 项目: pallop/Servuo
        public Djinn()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body = 0x311;
            Hue  = 33072;
            Name = "Djinn";

            SetStr(320, 500);
            SetDex(200, 300);
            SetInt(600, 700);

            SetHits(2003);

            SetDamage(11, 13);

            SetDamageType(ResistanceType.Physical, 0);
            SetDamageType(ResistanceType.Fire, 50);
            SetDamageType(ResistanceType.Energy, 50);

            SetResistance(ResistanceType.Physical, 50, 60);
            SetResistance(ResistanceType.Fire, 60, 70);
            SetResistance(ResistanceType.Cold, 30, 40);
            SetResistance(ResistanceType.Poison, 30, 40);
            SetResistance(ResistanceType.Energy, 80, 90);

            SetSkill(SkillName.Wrestling, 60.0, 80.0);
            SetSkill(SkillName.Tactics, 60.0, 80.0);
            SetSkill(SkillName.MagicResist, 60.0, 80.0);
            SetSkill(SkillName.Magery, 100.0, 120.0);
            SetSkill(SkillName.EvalInt, 60.0, 110.0);
            SetSkill(SkillName.DetectHidden, 55.0);

            Fame  = 15000;
            Karma = -15000;

            if (Instances == null)
            {
                Instances = new List <Djinn>();
            }

            Instances.Add(this);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            m_Timer = new SummonEfreetTimer(this);
            m_Timer.Start();
        }
示例#14
0
        public Shadowlord()
            : base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Instances.Add(this);

            this.m_Type = (ShadowlordType)Utility.Random(3);
            this.Name   = this.m_Type.ToString();

            this.Body        = 146;
            this.BaseSoundID = 0x4B0;

            this.SetStr(900, 960);
            this.SetDex(1000, 1030);
            this.SetInt(1100, 1200);

            this.SetHits(30000);
            this.SetStam(1000, 1050);

            this.SetDamage(35, 41);

            this.SetDamageType(ResistanceType.Physical, 20);
            this.SetDamageType(ResistanceType.Fire, 20);
            this.SetDamageType(ResistanceType.Cold, 20);
            this.SetDamageType(ResistanceType.Poison, 20);
            this.SetDamageType(ResistanceType.Energy, 20);

            this.SetResistance(ResistanceType.Physical, 70, 80);
            this.SetResistance(ResistanceType.Fire, 70, 80);
            this.SetResistance(ResistanceType.Cold, 70, 80);
            this.SetResistance(ResistanceType.Poison, 70, 80);
            this.SetResistance(ResistanceType.Energy, 70, 80);

            this.SetSkill(SkillName.EvalInt, 140.0);
            this.SetSkill(SkillName.Magery, 120.0);
            this.SetSkill(SkillName.Meditation, 140.0);
            this.SetSkill(SkillName.MagicResist, 110.2, 120.0);
            this.SetSkill(SkillName.Tactics, 110.1, 115.0);
            this.SetSkill(SkillName.Wrestling, 110.1, 115.0);
            this.SetSkill(SkillName.Necromancy, 120.0);

            this.Fame  = 24000;
            this.Karma = -24000;

            this.VirtualArmor = 20;
            this.Hue          = 902;
            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#15
0
        public IceWyrm()
            : base()
        {
            m_Instances.Add(this);

            this.Name = "Ice Wyrm";
            this.Hue  = 2729;
            this.Body = 180;

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            Tamable = false;
        }
示例#16
0
        public ObsidianWyvern()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Instances.Add(this);

            this.Name        = "Obsidian Wyvern";
            this.Body        = 0x2E;
            this.Hue         = 1910;
            this.BaseSoundID = 362;

            this.SetStr(1377, 1450);
            this.SetDex(125, 180);
            this.SetInt(780, 900);

            this.SetHits(1225, 1400);

            this.SetDamage(29, 35);

            this.SetDamageType(ResistanceType.Physical, 75);
            this.SetDamageType(ResistanceType.Fire, 25);

            this.SetResistance(ResistanceType.Physical, 67);
            this.SetResistance(ResistanceType.Fire, 80, 90);
            this.SetResistance(ResistanceType.Cold, 70, 80);
            this.SetResistance(ResistanceType.Poison, 60, 70);
            this.SetResistance(ResistanceType.Energy, 60, 70);

            this.SetSkill(SkillName.Magery, 108.7, 115.0);
            this.SetSkill(SkillName.Meditation, 60.0, 87.6);
            this.SetSkill(SkillName.EvalInt, 110.0, 115.0);
            this.SetSkill(SkillName.Wrestling, 110.0, 115.0);
            this.SetSkill(SkillName.Tactics, 119.6, 125.0);
            this.SetSkill(SkillName.MagicResist, 115.0, 130.8);
            this.SetSkill(SkillName.Parry, 75.0, 85.0);
            this.SetSkill(SkillName.DetectHidden, 100.0);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            this.Fame  = 24000;
            this.Karma = -24000;

            this.VirtualArmor = 70;
        }
示例#17
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            switch (version)
            {
            case 0:
            {
                this.m_Type = (ShadowlordType)reader.ReadInt();

                break;
            }
            }

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#18
0
文件: Djinn.cs 项目: techy2493/ServUO
        public Djinn()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Instances.Add(this);

            this.Body = 0x2EA;
            this.Name = "Djinn";

            this.SetStr(476, 505);
            this.SetDex(76, 95);
            this.SetInt(301, 325);

            this.SetHits(586, 603);

            this.SetDamage(16, 20);

            this.SetDamageType(ResistanceType.Physical, 0);
            this.SetDamageType(ResistanceType.Fire, 40);
            this.SetDamageType(ResistanceType.Energy, 60);

            this.SetResistance(ResistanceType.Physical, 45, 60);
            this.SetResistance(ResistanceType.Fire, 50, 60);
            this.SetResistance(ResistanceType.Cold, 30, 40);
            this.SetResistance(ResistanceType.Poison, 20, 30);
            this.SetResistance(ResistanceType.Energy, 30, 40);

            this.SetSkill(SkillName.Wrestling, 60.0, 80.0);
            this.SetSkill(SkillName.Tactics, 70.0, 80.0);
            this.SetSkill(SkillName.MagicResist, 100.0, 110.0);
            this.SetSkill(SkillName.Magery, 120.0, 130.0);
            this.SetSkill(SkillName.EvalInt, 100.0, 110.0);
            this.SetSkill(SkillName.Meditation, 100.0, 110.0);

            this.Fame  = 15000;
            this.Karma = -15000;

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            this.m_Timer = new SummonEfreetTimer(this);
            this.m_Timer.Start();
        }
示例#19
0
        public ObsidianWyvern()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Instances.Add(this);

            this.Name        = "Obsidian Wyvern";
            this.Body        = 46;
            this.Hue         = 1175;
            this.BaseSoundID = 362;

            this.SetStr(1377);
            this.SetDex(125);
            this.SetInt(780);

            this.SetHits(1225);

            this.SetDamage(29, 35);

            this.SetDamageType(ResistanceType.Physical, 75);
            this.SetDamageType(ResistanceType.Fire, 25);

            this.SetResistance(ResistanceType.Physical, 67);
            this.SetResistance(ResistanceType.Fire, 82);
            this.SetResistance(ResistanceType.Cold, 72);
            this.SetResistance(ResistanceType.Poison, 62);
            this.SetResistance(ResistanceType.Energy, 66);

            this.SetSkill(SkillName.Magery, 108.7);
            this.SetSkill(SkillName.Meditation, 87.6);
            this.SetSkill(SkillName.EvalInt, 113.5);
            this.SetSkill(SkillName.Wrestling, 111.8);
            this.SetSkill(SkillName.Tactics, 119.6);
            this.SetSkill(SkillName.MagicResist, 130.8);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            this.Fame  = 24000;
            this.Karma = -24000;

            this.VirtualArmor = 70;
        }
示例#20
0
        public OrcEngineer()
            : base()
        {
            Title = "the Orcish Engineer";

            SetStr(500, 510);
            SetDex(200, 210);
            SetInt(200, 210);

            SetHits(3500, 3700);

            SetDamage(8, 14);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 65, 70);
            SetResistance(ResistanceType.Fire, 65, 70);
            SetResistance(ResistanceType.Cold, 65, 70);
            SetResistance(ResistanceType.Poison, 60);
            SetResistance(ResistanceType.Energy, 65, 70);

            SetSkill(SkillName.Parry, 100.0, 110.0);
            SetSkill(SkillName.MagicResist, 70.0, 80.0);
            SetSkill(SkillName.Tactics, 110.0, 120.0);
            SetSkill(SkillName.Wrestling, 120.0, 130.0);
            SetSkill(SkillName.DetectHidden, 100.0, 110.0);

            Fame  = 1500;
            Karma = -1500;

            if (Instances == null)
            {
                Instances = new List <OrcEngineer>();
            }

            Instances.Add(this);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
示例#21
0
        public IceWyrm()
        {
            Name = "Ice Wyrm";
            Hue  = 2729;
            Body = 180;

            SetResistance(ResistanceType.Cold, 100);

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            Tamable = false;

            if (Instances == null)
            {
                Instances = new List <IceWyrm>();
            }

            Instances.Add(this);
        }
示例#22
0
        public Djinn()
            : base()
        {
            m_Instances.Add(this);

            this.Name = "Djinn";
            this.Hue  = 12;

            this.SetStr(476, 505);
            this.SetDex(76, 95);
            this.SetInt(301, 325);

            this.SetHits(586, 603);

            this.SetDamage(16, 20);

            this.SetDamageType(ResistanceType.Physical, 0);
            this.SetDamageType(ResistanceType.Fire, 40);
            this.SetDamageType(ResistanceType.Energy, 60);

            this.SetResistance(ResistanceType.Physical, 45, 60);
            this.SetResistance(ResistanceType.Fire, 50, 60);
            this.SetResistance(ResistanceType.Cold, 30, 40);
            this.SetResistance(ResistanceType.Poison, 20, 30);
            this.SetResistance(ResistanceType.Energy, 30, 40);

            this.Fame  = 15000;
            this.Karma = -15000;

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();

            this.m_Timer = new SummonEfreetTimer(this);
            this.m_Timer.Start();
        }
示例#23
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            switch (version)
            {
            case 1:
            {
                Wisps = reader.ReadStrongMobileList <DarkWisp>();
                goto case 0;
            }

            case 0:
            {
                m_Type = (ShadowlordType)reader.ReadInt();
                break;
            }
            }

            Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);

            SelfDeleteTimer.Start();
        }
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
			Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this);
			SelfDeleteTimer.Start();
		}