Exemple #1
0
        public static Weapon GetWeaponFromID(int id)
        {
            switch (id)
            {
            case -1:
                return(Weapons.CreateMaverick());

            case 0:
                return(Weapons.CreateSword());

            case 1:
                return(Weapons.CreateBroadsword());

            case 2:
                return(Weapons.CreateBow());

            case 3:
                return(Weapons.CreateIceBow());

            case 4:
                return(Weapons.CreateThrowingAxe());

            case 5:
                return(Weapons.CreateDwarvenAxe());

            case 6:
                return(Weapons.CreateMaul());

            case 7:
                return(Weapons.CreateHammer());

            case 8:
                return(Weapons.CreateSpear());

            case 9:
                return(Weapons.CreateThrowingSpear());

            case 10:
                return(Weapons.CreateJungleSpear());

            case 11:
                return(Weapons.CreateThrowingDagger());

            case 12:
                return(Weapons.CreateFireball());

            case 13:
                return(Weapons.CreateFirebolt());

            case 14:
                return(Weapons.CreateFirework());

            case 15:
                return(Weapons.CreateHelsingor());

            case 16:
                return(Weapons.CreateBoteng());

            case 17:
                return(Weapons.CreateHira());

            case 18:
                return(Weapons.CreateTaago());

            case 19:
                return(Weapons.CreatePlasmaBolt());

            case 20:
                return(Weapons.CreateGrapple());

            default:
                return(Weapons.CreateSword());
            }
        }