示例#1
0
        public Idol(IdolType type) : base(0x1F18)
        {
            m_Type = type;
            Name   = "Idol of " + type;
            switch (type)
            {
            case IdolType.Shame: Hue = 0x58F; break;

            case IdolType.Deceit: Hue = 0x4E2; break;

            case IdolType.Destard: Hue = 0x455;  break;

            case IdolType.Hythloth: Hue = 0x482;  break;

            case IdolType.Despise: Hue = 0x7DA; Movable = true; break;

            case IdolType.Covetous:  Hue = 0x4D3; break;

            case IdolType.FireLord: Hue = 0x4EA; Name = "Idol of the Fire Lord"; break;

            case IdolType.DragonKing: Hue = 0x47E; Name = "Idol of the Dragon King"; break;

            case IdolType.Undeath: Hue = 0x497; break;

            case IdolType.Wrong: Hue = 0x655; break;
            }
        }
示例#2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            switch (version)
            {
            case 0:
            {
                m_Type     = (IdolType)reader.ReadInt();
                m_Platform = reader.ReadItem() as IdolPlatform;
                m_Idol     = reader.ReadItem();

                if (m_Platform == null)
                {
                    Delete();
                }

                break;
            }
            }

            if (Hue == 0x497)
            {
                Hue = 0x455;
            }

            if (Light != LightType.Circle300)
            {
                Light = LightType.Circle300;
            }
        }
示例#3
0
 public IdolPedestal(IdolPlatform platform, IdolType type) : base(0x1F2A)
 {
     Hue        = 0x4AA;
     Light      = LightType.Circle300;
     Name       = "Pedestal of " + type;
     m_Platform = platform;
     m_Type     = type;
 }
示例#4
0
        public ElementalChamp()
            : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name        = "Thar'las";
            Body        = 0xF;
            BaseSoundID = 274;

            SetStr(1100, 1190);
            SetDex(150, 160);
            SetInt(500, 600);

            SetHits(10000, 12000);
            SetMana(3450, 3650);

            SetDamage(47, 52);

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

            SetResistance(ResistanceType.Physical, 65, 80);
            SetResistance(ResistanceType.Fire, 45, 60);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 100);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.Anatomy, 100.0, 175.0);
            SetSkill(SkillName.EvalInt, 80.1, 105.0);
            SetSkill(SkillName.Magery, 80.1, 95.0);
            SetSkill(SkillName.Meditation, 110.2, 150.0);
            SetSkill(SkillName.MagicResist, 220.0, 220.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.Wrestling, 90.1, 100.0);

            Fame  = 15000;
            Karma = -15000;

            VirtualArmor = 100;

            PackGold(600, 800);
            PackScroll(1, 8);
            PackSlayer();
            PackWeapon(2, 5);
            PackWeapon(4, 5);
            PackArmor(2, 5);
            PackArmor(4, 5);

            m_Type = IdolType.FireLord;

            World.Broadcast(0x35, true, "The eternal God of the Core has emerged from his fiery lair! Seek him out and destroy him!!");
        }
        public ElementalChamp()
            : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name = "Thar'las";
            Body = 0xF;
            BaseSoundID = 274;

            SetStr(1100, 1190);
            SetDex(150, 160);
            SetInt(500, 600);

            SetHits(10000, 12000);
            SetMana(3450, 3650);

            SetDamage(47, 52);

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

            SetResistance(ResistanceType.Physical, 65, 80);
            SetResistance(ResistanceType.Fire, 45, 60);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 100);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.Anatomy, 100.0, 175.0);
            SetSkill(SkillName.EvalInt, 80.1, 105.0);
            SetSkill(SkillName.Magery, 80.1, 95.0);
            SetSkill(SkillName.Meditation, 110.2, 150.0);
            SetSkill(SkillName.MagicResist, 220.0, 220.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.Wrestling, 90.1, 100.0);

            Fame = 15000;
            Karma = -15000;

            VirtualArmor = 100;

            PackGold(600, 800);
            PackScroll(1, 8);
            PackSlayer();
            PackWeapon(2, 5);
            PackWeapon(4, 5);
            PackArmor(2, 5);
            PackArmor(4, 5);

			m_Type = IdolType.FireLord;

            World.Broadcast(0x35, true, "The eternal God of the Core has emerged from his fiery lair! Seek him out and destroy him!!");
        }
        public DragChamp()
            : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name = "Borkarth";
            Body = 0x3E;
            BaseSoundID = 362;
            Hue = 1152;

            SetStr(1000, 1000);
            SetDex(150, 150);
            SetInt(15000, 15000);

            SetHits(17000);

            SetDamage(10, 15);

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

            SetResistance(ResistanceType.Physical, 65, 80);
            SetResistance(ResistanceType.Fire, 45, 60);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 100);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.Anatomy, 225.1, 250.0);
            SetSkill(SkillName.EvalInt, 160.1, 200.0);
            SetSkill(SkillName.Magery, 115.5, 154.0);
            SetSkill(SkillName.Meditation, 225.1, 250.0);
            SetSkill(SkillName.MagicResist, 350.0, 400.0);
            SetSkill(SkillName.Tactics, 190.1, 200.0);
            SetSkill(SkillName.Wrestling, 75.0, 90.0);

            Fame = 24000;
            Karma = -24000;

            VirtualArmor = 90;

            PackGold(6000, 8000);
            PackScroll(2, 8);
            PackArmor(2, 5);
            PackWeapon(3, 5);
            PackWeapon(5, 5);
            PackSlayer();

		m_Type = IdolType.DragonKing;

            World.Broadcast(0x35, true, "The Lord of the Brood has awoken and seeks to spread his corruption across the lands! You must discover his lair and vanquish him at all costs!");
        }
示例#7
0
        public DragChamp()
            : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name        = "Borkarth";
            Body        = 0x3E;
            BaseSoundID = 362;
            Hue         = 1152;

            SetStr(1000, 1000);
            SetDex(150, 150);
            SetInt(15000, 15000);

            SetHits(17000);

            SetDamage(10, 15);

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

            SetResistance(ResistanceType.Physical, 65, 80);
            SetResistance(ResistanceType.Fire, 45, 60);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 100);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.Anatomy, 225.1, 250.0);
            SetSkill(SkillName.EvalInt, 160.1, 200.0);
            SetSkill(SkillName.Magery, 115.5, 154.0);
            SetSkill(SkillName.Meditation, 225.1, 250.0);
            SetSkill(SkillName.MagicResist, 350.0, 400.0);
            SetSkill(SkillName.Tactics, 190.1, 200.0);
            SetSkill(SkillName.Wrestling, 75.0, 90.0);

            Fame  = 24000;
            Karma = -24000;

            VirtualArmor = 90;

            PackGold(6000, 8000);
            PackScroll(2, 8);
            PackArmor(2, 5);
            PackWeapon(3, 5);
            PackWeapon(5, 5);
            PackSlayer();

            m_Type = IdolType.DragonKing;

            World.Broadcast(0x35, true, "The Lord of the Brood has awoken and seeks to spread his corruption across the lands! You must discover his lair and vanquish him at all costs!");
        }
示例#8
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

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

                break;
            }
            }
        }
示例#9
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();

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

					break;
				}
			}
		}
        public LichChamp()
            : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name = "Lord Zwiebus";
            Body = 0x4F;
            Hue = 1175;

            SetStr(650, 1000);
            SetDex(150, 200);
            SetInt(1000, 1200);
            SetHits(13500);
            SetDamage(23, 27);

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

            SetResistance(ResistanceType.Physical, 40, 50);
            SetResistance(ResistanceType.Fire, 30, 40);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 50, 60);
            SetResistance(ResistanceType.Energy, 40, 50);
            SetSkill(SkillName.Meditation, 350.0, 350.0);
            SetSkill(SkillName.EvalInt, 190.1, 210.0);
            SetSkill(SkillName.Magery, 175.1, 190.0);
            SetSkill(SkillName.MagicResist, 115, 120.0);
            SetSkill(SkillName.Tactics, 100.0, 100.0);
            SetSkill(SkillName.Wrestling, 135.0, 155.0);

            Fame = 100000;
            Karma = -225000;

            PackGold(4000, 6000);
            PackScroll(3, 8);
            PackScroll(3, 8);
            PackMagicItems(1, 5, 0.80, 0.75);
            PackMagicItems(3, 5, 0.60, 0.45);
            PackSlayer(1);

            VirtualArmor = 50;

			m_Type = IdolType.Undeath;


			World.Broadcast(0x35, true, "The Undying Lord of Death has crossed the border between the living world and his own. Force him back or suffer eternal pain!");
        }
示例#11
0
        public LichChamp()
            : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name = "Lord Zwiebus";
            Body = 0x4F;
            Hue  = 1175;

            SetStr(650, 1000);
            SetDex(150, 200);
            SetInt(1000, 1200);
            SetHits(13500);
            SetDamage(23, 27);

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

            SetResistance(ResistanceType.Physical, 40, 50);
            SetResistance(ResistanceType.Fire, 30, 40);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 50, 60);
            SetResistance(ResistanceType.Energy, 40, 50);
            SetSkill(SkillName.Meditation, 350.0, 350.0);
            SetSkill(SkillName.EvalInt, 190.1, 210.0);
            SetSkill(SkillName.Magery, 175.1, 190.0);
            SetSkill(SkillName.MagicResist, 115, 120.0);
            SetSkill(SkillName.Tactics, 100.0, 100.0);
            SetSkill(SkillName.Wrestling, 135.0, 155.0);

            Fame  = 100000;
            Karma = -225000;

            PackGold(4000, 6000);
            PackScroll(3, 8);
            PackScroll(3, 8);
            PackMagicItems(1, 5, 0.80, 0.75);
            PackMagicItems(3, 5, 0.60, 0.45);
            PackSlayer(1);

            VirtualArmor = 50;

            m_Type = IdolType.Undeath;


            World.Broadcast(0x35, true, "The Undying Lord of Death has crossed the border between the living world and his own. Force him back or suffer eternal pain!");
        }
示例#12
0
        public WrongBoss() : base(AIType.AI_Mage)
        {
            Name     = "Idol Keeper";
            Title    = "of Wrong";
            Body     = 400;
            Hue      = 0;
            m_Active = true;
            m_Type   = IdolType.Wrong;
            m_Rare   = MagicalRareType.Six;

            SetStr(500, 550);
            SetDex(200, 250);
            SetInt(450, 550);

            SetHits(5500);

            SetDamage(28, 30);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 35, 40);
            SetResistance(ResistanceType.Fire, 30, 40);
            SetResistance(ResistanceType.Cold, 30, 40);
            SetResistance(ResistanceType.Poison, 30, 40);
            SetResistance(ResistanceType.Energy, 30, 40);

            SetSkill(SkillName.EvalInt, 140.0);
            SetSkill(SkillName.Magery, 140.0);
            SetSkill(SkillName.Meditation, 300.0);
            SetSkill(SkillName.MagicResist, 300.0);
            SetSkill(SkillName.Tactics, 100.0);
            SetSkill(SkillName.Wrestling, 90.0);

            Fame  = 9500;
            Karma = -10500;

            VirtualArmor = 10;

            Robe robe = new Robe();

            robe.Hue      = 1109;
            robe.Name     = "Robe of the Idol Keeper";
            robe.LootType = LootType.Blessed;
            AddItem(robe);
        }
示例#13
0
		public Idol( IdolType type ) : base( 0x1F18 )
		{
			m_Type = type;
			Name = "Idol of " + type;
			switch ( type )
			{
				case IdolType.Shame: Hue = 0x58F; break;
                case IdolType.Deceit: Hue = 0x4E2; break;
				case IdolType.Destard: Hue = 0x455;  break;
				case IdolType.Hythloth: Hue = 0x482;  break;
				case IdolType.Despise: Hue = 0x7DA; Movable = true; break;
				case IdolType.Covetous:  Hue = 0x4D3; break;
				case IdolType.FireLord: Hue = 0x4EA; Name = "Idol of the Fire Lord"; break;
				case IdolType.DragonKing: Hue = 0x47E; Name = "Idol of the Dragon King"; break;
				case IdolType.Undeath: Hue = 0x497; break;
				case IdolType.Wrong: Hue = 0x655; break;
			}

		}
示例#14
0
        public DestBoss() : base(AIType.AI_Mage)
        {
            Name        = "Idol Keeper";
            Title       = "of Destard";
            Body        = 104;
            Hue         = 1109;
            BaseSoundID = 0x488;
            m_Active    = true;
            m_Type      = IdolType.Destard;
            m_Rare      = MagicalRareType.Four;

            SetStr(700, 800);
            SetDex(150, 200);
            SetInt(750, 850);

            SetHits(4500);

            SetDamage(29, 35);

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

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

            SetSkill(SkillName.EvalInt, 125.0);
            SetSkill(SkillName.Magery, 120.0);
            SetSkill(SkillName.MagicResist, 200.0);
            SetSkill(SkillName.Meditation, 110.0);
            SetSkill(SkillName.Tactics, 160.0);
            SetSkill(SkillName.Wrestling, 180.0);

            Fame  = 22500;
            Karma = -22500;

            VirtualArmor = 80;
        }
示例#15
0
		public DestBoss () : base( AIType.AI_Mage )
		{
			Name = "Idol Keeper";
			Title = "of Destard";
			Body = 104;
			Hue = 1109;
			BaseSoundID = 0x488;
			m_Active = true;
			m_Type = IdolType.Destard;
			m_Rare = MagicalRareType.Four;

			SetStr( 700, 800 );
			SetDex( 150, 200 );
			SetInt( 750, 850 );

			SetHits( 4500 );

			SetDamage( 29, 35 );

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

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

			SetSkill( SkillName.EvalInt, 125.0 );
			SetSkill( SkillName.Magery, 120.0 );
			SetSkill( SkillName.MagicResist, 200.0 );
			SetSkill( SkillName.Meditation, 110.0 );
			SetSkill( SkillName.Tactics, 160.0 );
			SetSkill( SkillName.Wrestling, 180.0 );

			Fame = 22500;
			Karma = -22500;

			VirtualArmor = 80;
		}
示例#16
0
        public ShameBoss() : base(AIType.AI_Mage)
        {
            Name        = "Idol Keeper";
            Title       = "of Shame";
            Hue         = 1423;
            Body        = 14;
            BaseSoundID = 268;
            m_Active    = true;
            m_Type      = IdolType.Shame;
            m_Rare      = MagicalRareType.Five;

            SetStr(500, 550);
            SetDex(150, 200);
            SetInt(500, 600);

            SetHits(5500);

            SetDamage(25, 30);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 35);
            SetResistance(ResistanceType.Fire, 10, 20);
            SetResistance(ResistanceType.Cold, 10, 20);
            SetResistance(ResistanceType.Poison, 15, 25);
            SetResistance(ResistanceType.Energy, 15, 25);

            SetSkill(SkillName.EvalInt, 135.0);
            SetSkill(SkillName.Magery, 120.0);
            SetSkill(SkillName.MagicResist, 185.0);
            SetSkill(SkillName.Meditation, 110.0);
            SetSkill(SkillName.Tactics, 200.0);
            SetSkill(SkillName.Wrestling, 150.0);
            SetSkill(SkillName.DetectHidden, 200.0);

            Fame  = 1500;
            Karma = -1500;

            VirtualArmor = 70;
        }
示例#17
0
        public HythBoss() : base(AIType.AI_Mage)
        {
            Name        = "Idol Keeper";
            Title       = "of Hythloth";
            Body        = 149;
            Hue         = 1154;
            BaseSoundID = 0x4B0;
            m_Active    = true;
            m_Type      = IdolType.Hythloth;

            SetStr(550, 620);
            SetDex(120, 160);
            SetInt(500, 600);

            SetHits(6000);

            SetDamage(28, 35);

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

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

            SetSkill(SkillName.EvalInt, 130.0);
            SetSkill(SkillName.Magery, 120.0);
            SetSkill(SkillName.Meditation, 110.0);
            SetSkill(SkillName.MagicResist, 180.0);
            SetSkill(SkillName.Tactics, 150.0);
            SetSkill(SkillName.Wrestling, 110.0);

            Fame  = 24000;
            Karma = -24000;

            VirtualArmor = 80;
        }
示例#18
0
		public HythBoss () : base( AIType.AI_Mage )
		{
			Name = "Idol Keeper";
			Title = "of Hythloth";
			Body = 149;
			Hue = 1154;
			BaseSoundID = 0x4B0;
			m_Active = true;
			m_Type = IdolType.Hythloth;

			SetStr( 550, 620 );
			SetDex( 120, 160 );
			SetInt( 500, 600 );

			SetHits( 6000 );

			SetDamage( 28, 35 );

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

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

			SetSkill( SkillName.EvalInt, 130.0 );
			SetSkill( SkillName.Magery, 120.0 );
			SetSkill( SkillName.Meditation, 110.0 );
			SetSkill( SkillName.MagicResist, 180.0 );
			SetSkill( SkillName.Tactics, 150.0 );
			SetSkill( SkillName.Wrestling, 110.0 );

			Fame = 24000;
			Karma = -24000;

			VirtualArmor = 80;
		}
示例#19
0
		public DecBoss() : base( AIType.AI_Melee )
		{
			Name = "Idol Keeper";
			Title = "of Deceit";
			Hue = 1250;
			Body = 154;
			BaseSoundID = 471;
			m_Active = true;
			m_Type = IdolType.Deceit;
			m_Rare = MagicalRareType.Two;

			SetStr( 300, 350 );
			SetDex( 150, 200 );
			SetInt( 150, 200 );

			SetHits( 6000 );

			SetDamage( 20, 25 );

			SetDamageType( ResistanceType.Physical, 40 );
			SetDamageType( ResistanceType.Cold, 60 );

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

			SetSkill( SkillName.MagicResist, 170.0 );
			SetSkill( SkillName.Tactics, 170.0 );
			SetSkill( SkillName.Wrestling, 190.0 );

			Fame = 17000;
			Karma = -17000;

			VirtualArmor = 50;

		}
示例#20
0
        public CoveBoss() : base(AIType.AI_Melee)
        {
            Name        = "Idol Keeper";
            Title       = "of Covetous";
            Hue         = 1235;
            Body        = 73;
            BaseSoundID = 402;
            m_Active    = true;
            m_Type      = IdolType.Covetous;
            m_Rare      = MagicalRareType.One;

            SetStr(780, 830);
            SetDex(150, 200);
            SetInt(51, 75);

            SetHits(8500);

            SetDamage(40, 50);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 25, 30);
            SetResistance(ResistanceType.Fire, 10, 20);
            SetResistance(ResistanceType.Cold, 10, 30);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 10, 20);

            SetSkill(SkillName.MagicResist, 80.0);
            SetSkill(SkillName.Tactics, 250.0);
            SetSkill(SkillName.Wrestling, 250.0);
            SetSkill(SkillName.DetectHidden, 200.0);

            Fame  = 4500;
            Karma = -4500;

            VirtualArmor = 1000;
        }
示例#21
0
		public CoveBoss() : base( AIType.AI_Melee )
		{
			Name = "Idol Keeper";
			Title = "of Covetous";
			Hue = 1235;
			Body = 73;
			BaseSoundID = 402;
			m_Active = true;
			m_Type = IdolType.Covetous;
			m_Rare = MagicalRareType.One;

			SetStr( 780, 1000 );
			SetDex( 150, 200 );
			SetInt( 51, 75 );

			SetHits( 15000 );

			SetDamage( 40, 50 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetResistance( ResistanceType.Physical, 25, 30 );
			SetResistance( ResistanceType.Fire, 10, 20 );
			SetResistance( ResistanceType.Cold, 10, 30 );
			SetResistance( ResistanceType.Poison, 20, 30 );
			SetResistance( ResistanceType.Energy, 10, 20 );

			SetSkill( SkillName.MagicResist, 80.0 );
			SetSkill( SkillName.Tactics, 250.0 );
			SetSkill( SkillName.Wrestling, 250.0 );
			SetSkill( SkillName.DetectHidden, 200.0 );

			Fame = 4500;
			Karma = -4500;

			VirtualArmor = 1000;
		}
示例#22
0
        public DecBoss() : base(AIType.AI_Melee)
        {
            Name        = "Idol Keeper";
            Title       = "of Deceit";
            Hue         = 1250;
            Body        = 154;
            BaseSoundID = 471;
            m_Active    = true;
            m_Type      = IdolType.Deceit;
            m_Rare      = MagicalRareType.Two;

            SetStr(300, 350);
            SetDex(150, 200);
            SetInt(150, 200);

            SetHits(6000);

            SetDamage(20, 25);

            SetDamageType(ResistanceType.Physical, 40);
            SetDamageType(ResistanceType.Cold, 60);

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

            SetSkill(SkillName.MagicResist, 170.0);
            SetSkill(SkillName.Tactics, 170.0);
            SetSkill(SkillName.Wrestling, 190.0);

            Fame  = 17000;
            Karma = -17000;

            VirtualArmor = 50;
        }
		public IdolPedestal( IdolPlatform platform, IdolType type ) : base( 0x1F2A )
		{
			Hue = 0x4AA;
			Light = LightType.Circle300;
			Name = "Pedestal of " + type;
			m_Platform = platform;
			m_Type = type;
		}
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();

			switch ( version )
			{
				case 0:
				{
					m_Type = (IdolType)reader.ReadInt();
					m_Platform = reader.ReadItem() as IdolPlatform;
					m_Idol = reader.ReadItem();

					if ( m_Platform == null )
						Delete();

					break;
				}
			}

			if ( Hue == 0x497 )
				Hue = 0x455;

			if ( Light != LightType.Circle300 )
				Light = LightType.Circle300;
		}