public override void OnResponse(NetState state, RelayInfo info)
        {
            Mobile from = state.Mobile;

            switch (info.ButtonID)
            {
            case 0: //Close Gump
            {
                from.CloseGump(typeof(ArtifactGump));
                break;
            }

            case 1:  // Axe of the Heavens
            {
                Item item = new AxeOfTheHeavens();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 2: // Blade of insanity
            {
                Item item = new BladeOfInsanity();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 3: //Blade of the Righteous
            {
                Item item = new BladeOfTheRighteous();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 4: //Bone Crusher
            {
                Item item = new BoneCrusher();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 5: //Breath of the Dead
            {
                Item item = new BreathOfTheDead();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 6: //Frostbringer
            {
                Item item = new Frostbringer();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 7: //Legacy of the Dread Lord
            {
                Item item = new LegacyOfTheDreadLord();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 8: //Serpent's Fang
            {
                Item item = new SerpentsFang();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 9: //Staff of the Magi
            {
                Item item = new StaffOfTheMagi();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 10: //The Beserker's Maul
            {
                Item item = new TheBeserkersMaul();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 11: //The Dragon Slayer
            {
                Item item = new TheDragonSlayer();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 12: //Titans Hammer
            {
                Item item = new TitansHammer();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 13: //The Taskmaster
            {
                Item item = new TheTaskmaster();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 14: //Zyronic Claw
            {
                Item item = new ZyronicClaw();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 15: //The Dryad Bow
            {
                Item item = new TheDryadBow();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 16: //Armor of Fortune
            {
                Item item = new ArmorOfFortune();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 17: //Gauntlets of Nobility
            {
                Item item = new GauntletsOfNobility();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 18: //Helm of Insight
            {
                Item item = new HelmOfInsight();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 19: //Holy Knights Breastplate
            {
                Item item = new HolyKnightsBreastplate();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 20: //Jackal's Collar
            {
                Item item = new JackalsCollar();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 21: //Leggings of Bane
            {
                Item item = new LeggingsOfBane();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 22: //Midnight Bracers
            {
                Item item = new MidnightBracers();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 23: //Ornate Crown of the Harrower
            {
                Item item = new OrnateCrownOfTheHarrower();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 24: //Shadow Dancer Leggings
            {
                Item item = new ShadowDancerLeggings();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 25: //Inquisitor's Resolution
            {
                Item item = new InquisitorsResolution();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 26: //Tunic of Fire
            {
                Item item = new TunicOfFire();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 27: //Voice of the Fallen King
            {
                Item item = new VoiceOfTheFallenKing();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 29: //Bracelet of Health
            {
                Item item = new BraceletOfHealth();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 30: //Ornament of the Magician
            {
                Item item = new OrnamentOfTheMagician();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 31: //Ring of the Elements
            {
                Item item = new RingOfTheElements();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 32: //Ring of the Vile
            {
                Item item = new RingOfTheVile();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 34: //Aegis
            {
                Item item = new Aegis();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 35: //Arcane Shield
            {
                Item item = new ArcaneShield();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 36: //Divine Countenance
            {
                Item item = new DivineCountenance();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 37: //Hat of the Magi
            {
                Item item = new HatOfTheMagi();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 38: //Hunters Headdress
            {
                Item item = new HuntersHeaddress();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 39: //Spirit of the Totem
            {
                Item item = new SpiritOfTheTotem();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(ArtifactGump));
                m_Deed.Delete();
                break;
            }
            }
        }
Пример #2
0
        public ArenaMaster() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Arena Champion";
            Body = 400;

            SetStr(600);
            SetDex(500);
            SetInt(4000);

            SetHits(3000);
            SetMana(5000);
            SetStam(300);

            SetDamage(50, 60);

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

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

            SetSkill(SkillName.MagicResist, 150.0);
            SetSkill(SkillName.Tactics, 150.0);
            SetSkill(SkillName.MagicResist, 150.0);
            SetSkill(SkillName.Magery, 150.0);
            SetSkill(SkillName.EvalInt, 150.0);
            SetSkill(SkillName.Meditation, 150.0);
            SetSkill(SkillName.Focus, 150.0);
            SetSkill(SkillName.Wrestling, 150.0);

            VirtualArmor = 60;

            Item hat = new HatOfTheMagi();

            hat.Hue     = 1109;
            hat.Movable = false;

            Item gloves = new InquisitorsResolution();

            gloves.Hue     = 1109;
            gloves.Movable = false;

            Item sandals = new Sandals();

            sandals.Hue     = 1109;
            sandals.Movable = false;

            Item shroud = new HoodedShroudOfShadows();

            shroud.Movable = false;

            Item staffofpower = new StaffOfPower();

            staffofpower.Hue     = 38;
            staffofpower.Movable = false;

            AddItem(hat);
            AddItem(gloves);
            AddItem(shroud);
            AddItem(sandals);
            AddItem(staffofpower);
        }