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

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

            case 1:  // Artic Death Dealer
            {
                Item item = new ArcticDeathDealer();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 2: // Blaze of Death
            {
                Item item = new BlazeOfDeath();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 3: //Bow Of The Juka King
            {
                Item item = new BowOfTheJukaKing();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 4: //Captain Quackle bushs Cutlass
            {
                Item item = new CaptainQuacklebushsCutlass();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 5: //Cavorting Club
            {
                Item item = new CavortingClub();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 6: //Cold Blood
            {
                Item item = new ColdBlood();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 7: //Enchanted Titan Leg Bone
            {
                Item item = new EnchantedTitanLegBone();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 8: //Luna Lance
            {
                Item item = new LunaLance();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 9: //Nights Kiss
            {
                Item item = new NightsKiss();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 10: //Nox Rangers Heavy Crossbow
            {
                Item item = new NoxRangersHeavyCrossbow();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 11: //Pixie Swatter
            {
                Item item = new PixieSwatter();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 12: //Wrath Of The Dryad
            {
                Item item = new WrathOfTheDryad();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 13: //Staff Of Power
            {
                Item item = new StaffOfPower();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 14: //Burglars Bandana
            {
                Item item = new BurglarsBandana();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 15: //Dread Pirate Hat
            {
                Item item = new DreadPirateHat();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 16: //Heart Of The Lion
            {
                Item item = new HeartOfTheLion();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 17: //Orcish Visage
            {
                Item item = new OrcishVisage();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 18: //Polar Bear Mask
            {
                Item item = new PolarBearMask();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 19: //Violet Courage
            {
                Item item = new VioletCourage();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 20: //Alchemists Bauble
            {
                Item item = new AlchemistsBauble();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 21: //Iolos Lute
            {
                Item item = new IolosLute();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 22: //Gwennos Harp
            {
                Item item = new GwennosHarp();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 23: //Shield Of Invulnerability
            {
                Item item = new ShieldOfInvulnerability();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }

            case 24: //GlovesOfThePugilist
            {
                Item item = new GlovesOfThePugilist();
                item.LootType = LootType.Blessed;
                from.AddToBackpack(item);
                from.CloseGump(typeof(MinorArtifactGump));
                m_Deed.Delete();
                break;
            }
            }
        }
        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);
        }