Example #1
0
            public override void OnResponse(NetState sender, RelayInfo info)
            {
                if (m_Deed.Deleted)
                    return;

                Item weapon = null;

                switch (info.ButtonID)
                {
                    case 0: return;
                    case 1: weapon = new AncientAxe(); break;
                    case 2: weapon = new AncientBattleAxe(); break;
                    case 3: weapon = new AncientDoubleAxe(); break;
                    case 4: weapon = new AncientExecutionersAxe(); break;
                    case 5: weapon = new AncientHatchet(); break;
                    case 6: weapon = new AncientLargeBattleAxe(); break;
                    case 7: weapon = new AncientPickaxe(); break;
                    case 8: weapon = new AncientTwoHandedAxe(); break;
                    case 9: weapon = new AncientWarAxe(); break;
                    case 10: weapon = new AncientBow(); break;
                    case 11: weapon = new AncientCompositeBow(); break;
                    case 12: weapon = new AncientCrossbow(); break;
                    case 13: weapon = new AncientHeavyCrossbow(); break;
                    case 14: weapon = new AncientRepeatingCrossbow(); break;
                    case 15: weapon = new AncientButcherKnife(); break;
                    case 16: weapon = new AncientCleaver(); break;
                    case 17: weapon = new AncientDagger(); break;
                    case 18: weapon = new AncientSkinningKnife(); break;
                    case 19: weapon = new AncientClub(); break;
                    case 20: weapon = new AncientHammerPick(); break;
                    case 21: weapon = new AncientMace(); break;
                    case 22: weapon = new AncientMaul(); break;
                    case 23: weapon = new AncientScepter(); break;
                    case 24: weapon = new AncientWarHammer(); break;
                    case 25: weapon = new AncientWarMace(); break;
                    case 26: weapon = new AncientBardiche(); break;
                    case 27: weapon = new AncientHalberd(); break;
                    case 28: weapon = new AncientScythe(); break;
                    case 29: weapon = new AncientBladedStaff(); break;
                    case 30: weapon = new AncientDoubleBladedStaff(); break;
                    case 31: weapon = new AncientPike(); break;
                    case 32: weapon = new AncientPitchfork(); break;
                    case 33: weapon = new AncientShortSpear(); break;
                    case 34: weapon = new AncientSpear(); break;
                    case 35: weapon = new AncientWarFork(); break;
                    case 36: weapon = new AncientBlackStaff(); break;
                    case 37: weapon = new AncientGnarledStaff(); break;
                    case 38: weapon = new AncientQuarterStaff(); break;
                    case 39: weapon = new AncientShepherdsCrook(); break;
                    case 40: weapon = new AncientBoneHarvester(); break;
                    case 41: weapon = new AncientBroadSword(); break;
                    case 42: weapon = new AncientCrescentBlade(); break;
                    case 43: weapon = new AncientCutlass(); break;
                    case 44: weapon = new AncientKatana(); break;
                    case 45: weapon = new AncientKryss(); break;
                    case 46: weapon = new AncientLance(); break;
                    case 47: weapon = new AncientLongSword(); break;
                    case 48: weapon = new AncientScimitar(); break;
                    case 49: weapon = new AncientVikingSword(); break;
                }



                if (weapon != null)
                {

                    m_From.Backpack.DropItem(weapon);
                    m_From.SendMessage("You summon the Ancient Weapon!");
                    //m_From.AddItem( weapon );
                }

                m_Deed.Delete();
            }
Example #2
0
            public override void OnResponse(NetState sender, RelayInfo info)
            {
                if (m_Deed.Deleted)
                {
                    return;
                }

                Item weapon = null;

                switch (info.ButtonID)
                {
                case 0: return;

                case 1: weapon = new AncientAxe(); break;

                case 2: weapon = new AncientBattleAxe(); break;

                case 3: weapon = new AncientDoubleAxe(); break;

                case 4: weapon = new AncientExecutionersAxe(); break;

                case 5: weapon = new AncientHatchet(); break;

                case 6: weapon = new AncientLargeBattleAxe(); break;

                case 7: weapon = new AncientPickaxe(); break;

                case 8: weapon = new AncientTwoHandedAxe(); break;

                case 9: weapon = new AncientWarAxe(); break;

                case 10: weapon = new AncientBow(); break;

                case 11: weapon = new AncientCompositeBow(); break;

                case 12: weapon = new AncientCrossbow(); break;

                case 13: weapon = new AncientHeavyCrossbow(); break;

                case 14: weapon = new AncientRepeatingCrossbow(); break;

                case 15: weapon = new AncientButcherKnife(); break;

                case 16: weapon = new AncientCleaver(); break;

                case 17: weapon = new AncientDagger(); break;

                case 18: weapon = new AncientSkinningKnife(); break;

                case 19: weapon = new AncientClub(); break;

                case 20: weapon = new AncientHammerPick(); break;

                case 21: weapon = new AncientMace(); break;

                case 22: weapon = new AncientMaul(); break;

                case 23: weapon = new AncientScepter(); break;

                case 24: weapon = new AncientWarHammer(); break;

                case 25: weapon = new AncientWarMace(); break;

                case 26: weapon = new AncientBardiche(); break;

                case 27: weapon = new AncientHalberd(); break;

                case 28: weapon = new AncientScythe(); break;

                case 29: weapon = new AncientBladedStaff(); break;

                case 30: weapon = new AncientDoubleBladedStaff(); break;

                case 31: weapon = new AncientPike(); break;

                case 32: weapon = new AncientPitchfork(); break;

                case 33: weapon = new AncientShortSpear(); break;

                case 34: weapon = new AncientSpear(); break;

                case 35: weapon = new AncientWarFork(); break;

                case 36: weapon = new AncientBlackStaff(); break;

                case 37: weapon = new AncientGnarledStaff(); break;

                case 38: weapon = new AncientQuarterStaff(); break;

                case 39: weapon = new AncientShepherdsCrook(); break;

                case 40: weapon = new AncientBoneHarvester(); break;

                case 41: weapon = new AncientBroadSword(); break;

                case 42: weapon = new AncientCrescentBlade(); break;

                case 43: weapon = new AncientCutlass(); break;

                case 44: weapon = new AncientKatana(); break;

                case 45: weapon = new AncientKryss(); break;

                case 46: weapon = new AncientLance(); break;

                case 47: weapon = new AncientLongSword(); break;

                case 48: weapon = new AncientScimitar(); break;

                case 49: weapon = new AncientVikingSword(); break;
                }



                if (weapon != null)
                {
                    m_From.Backpack.DropItem(weapon);
                    m_From.SendMessage("You summon the Ancient Weapon!");
                    //m_From.AddItem( weapon );
                }

                m_Deed.Delete();
            }