Пример #1
0
        public void AddTracker(string tracker)
        {
            var trackers = new[] { tracker };

            Tiers.Add(new TrackerTier(trackers));
            CurrentTracker = Tiers[0].Trackers[0];
        }
Пример #2
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            Item          c;

            switch (Tier)
            {
            case 1:
                // decorative armor
                c = new Static(0x1508);
                c.MoveToWorld(new Point3D(1409, 1610, 30), Map);
                list.Add(c);

                // cannon
                c = new Static(0xE94);
                c.MoveToWorld(new Point3D(1409, 1610, 30), Map);
                list.Add(c);

                c = new Static(0xE95);
                c.MoveToWorld(new Point3D(1410, 1610, 30), Map);
                list.Add(c);

                c = new Static(0xE96);
                c.MoveToWorld(new Point3D(1411, 1610, 30), Map);
                list.Add(c);
                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
Пример #3
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            Item          c;

            switch (Tier)
            {
            case 1:
                // dishing stump
                c = new Static(0x1865);
                c.MoveToWorld(new Point3D(1417, 1590, 30), Map);
                list.Add(c);

                // pickaxe
                c = new Pickaxe();
                c.MoveToWorld(new Point3D(1414, 1588, 47), Map);
                c.Movable = false;
                list.Add(c);

                // sewing kit
                c = new SewingKit();
                c.MoveToWorld(new Point3D(1414, 1592, 42), Map);
                c.Movable = false;
                list.Add(c);

                // empty tool box
                c = new Static(0x1EB7);
                c.MoveToWorld(new Point3D(1415, 1588, 47), Map);
                list.Add(c);

                // silver wire
                c = new Static(0x1EB7)
                {
                    Weight = 5.0
                };
                c.MoveToWorld(new Point3D(1417, 1592, 46), Map);
                list.Add(c);

                // gold wire
                c = new Static(0x1EB7)
                {
                    Weight = 5.0
                };
                c.MoveToWorld(new Point3D(1417, 1592, 47), Map);
                list.Add(c);

                // silver ingots
                c = new Static(0x1BF6);
                c.MoveToWorld(new Point3D(1416, 1592, 44), Map);
                list.Add(c);
                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
Пример #4
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            Item          c;

            switch (Tier)
            {
            case 1:
                // brush
                c = new Static(0x1373);
                c.MoveToWorld(new Point3D(1415, 1593, 67), Map);
                list.Add(c);

                // horse shoes
                c = new Static(0xFB6);
                c.MoveToWorld(new Point3D(1415, 1595, 50), Map);
                list.Add(c);

                // bridle
                c = new Static(0x1375);
                c.MoveToWorld(new Point3D(1416, 1593, 67), Map);
                list.Add(c);

                // brush
                c = new Static(0x1372);
                c.MoveToWorld(new Point3D(1417, 1593, 67), Map);
                list.Add(c);

                // horse barding
                c = new Static(0x1378);
                c.MoveToWorld(new Point3D(1417, 1595, 50), Map);
                list.Add(c);

                c = new Static(0x1379);
                c.MoveToWorld(new Point3D(1417, 1594, 50), Map);
                list.Add(c);

                // shepard's crook
                c = new ShepherdsCrook();
                c.MoveToWorld(new Point3D(1417, 1597, 58), Map);

                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
 private void Reset()
 {
     Tiers.Add(EquippableTier.Damaged, new EquippableTierRewards {
         BonusEnhancementSlots = 0
     });
     Tiers.Add(EquippableTier.Normal, new EquippableTierRewards {
         BonusEnhancementSlots = 1
     });
     Tiers.Add(EquippableTier.Rare, new EquippableTierRewards {
         BonusEnhancementSlots = 2
     });
     Tiers.Add(EquippableTier.Epic, new EquippableTierRewards {
         BonusEnhancementSlots = 3
     });
     Tiers.Add(EquippableTier.Masterpiece, new EquippableTierRewards {
         BonusEnhancementSlots = 4
     });
 }
Пример #6
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            Item          c;

            switch (Tier)
            {
            case 1:
                // wizard's hat
                c = new WizardsHat();
                c.MoveToWorld(new Point3D(1410, 1603, 57), Map);
                list.Add(c);

                // crystal ball
                c = new Static(0xE2D)
                {
                    Weight = 10.0
                };
                c.MoveToWorld(new Point3D(1410, 1604, 57), Map);
                list.Add(c);

                // spellbook
                c = new Spellbook(0x0, 0xE3B);
                c.MoveToWorld(new Point3D(1408, 1603, 63), Map);
                list.Add(c);

                // garlic
                c = new Garlic();
                c.MoveToWorld(new Point3D(1408, 1603, 62), Map);
                list.Add(c);

                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
Пример #7
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            Item          c;

            switch (Tier)
            {
            case 1:
                // easel with canvas
                c = new Static(0xF66);
                c.MoveToWorld(new Point3D(1417, 1602, 30), Map);
                list.Add(c);

                // table
                c = new Static(0xB6B);
                c.MoveToWorld(new Point3D(1417, 1606, 30), Map);
                list.Add(c);

                c = new Static(0xB6D);
                c.MoveToWorld(new Point3D(1417, 1605, 30), Map);
                list.Add(c);

                c = new Static(0xB6C);
                c.MoveToWorld(new Point3D(1417, 1604, 30), Map);
                list.Add(c);

                // bonsai tree
                c = new Static(0x28DC);
                c.MoveToWorld(new Point3D(1417, 1604, 36), Map);
                list.Add(c);

                // bottles
                c = new Static(0xE29);
                c.MoveToWorld(new Point3D(1417, 1605, 37), Map);
                list.Add(c);

                c = new Static(0xE28);
                c.MoveToWorld(new Point3D(1417, 1605, 36), Map);
                list.Add(c);

                c = new Static(0xE2C);
                c.MoveToWorld(new Point3D(1417, 1606, 37), Map);
                list.Add(c);

                // pen and ink
                c = new Static(0xFBF);
                c.MoveToWorld(new Point3D(1417, 1606, 36), Map);
                list.Add(c);

                // cooking book
                c = new Static(0xFBE);
                c.MoveToWorld(new Point3D(1418, 1606, 42), Map);
                c.Name   = "A Cookbook";
                c.Weight = 5.0;
                list.Add(c);
                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
Пример #8
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            BaseCreature  c;

            // haven't got a clue if levels are OSI
            switch (Tier)
            {
            case 1:
                c = new Crane();
                c.MoveToWorld(new Point3D(4500, 1382, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 2:
                c = new DireWolf();
                c.MoveToWorld(new Point3D(4494, 1370, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new DireWolf();
                c.MoveToWorld(new Point3D(4494, 1360, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new WhiteWolf();
                c.MoveToWorld(new Point3D(4491, 1366, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new WhiteWolf();
                c.MoveToWorld(new Point3D(4497, 1366, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new GreyWolf();
                c.MoveToWorld(new Point3D(4497, 1366, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 3:
                c = new Quagmire();
                c.MoveToWorld(new Point3D(4483, 1392, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new BogThing();
                c.MoveToWorld(new Point3D(4486, 1385, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new PlagueBeast();
                c.MoveToWorld(new Point3D(4486, 1379, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 4:
                c = new PolarBear();
                c.MoveToWorld(new Point3D(4513, 1395, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new PolarBear();
                c.MoveToWorld(new Point3D(4508, 1393, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 5:
                c = new Yamandon();
                c.MoveToWorld(new Point3D(4498, 1393, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 6:
                c = new Changeling();
                c.MoveToWorld(new Point3D(4518, 1358, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 7:
                c = new Wyvern();
                c.MoveToWorld(new Point3D(4512, 1381, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 8:
                c = new Dragon();
                c.MoveToWorld(new Point3D(4511, 1372, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                c = new Drake();
                c.MoveToWorld(new Point3D(4516, 1371, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 9:
                c = new Reptalon();
                c.MoveToWorld(new Point3D(4530, 1387, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                break;

            case 10:
                c = new SilverSteed();
                c.MoveToWorld(new Point3D(4506, 1358, 23), Map);
                c.Blessed = true;
                c.Tamable = false;
                list.Add(c);

                /*
                 * c = new Sphynx();
                 * c.MoveToWorld( new Point3D( 4506, 1358, 23 ), Map );
                 * c.Blessed = true;
                 * c.Tamable = false;
                 * list.Add( c );*/

                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
Пример #9
0
        public override void IncreaseTier()
        {
            base.IncreaseTier();

            List <object> list = new List <object>();
            Item          c;

            // don't know names above lev 6
            switch (Tier)
            {
            case 1:
                c = new BookOfChivalry();
                c.MoveToWorld(new Point3D(2924, 979, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new Longsword();
                c.MoveToWorld(new Point3D(2923, 980, -18), Map);
                c.Movable = false;
                c.ItemID  = 0x26CF;
                list.Add(c);

                c = new Shirt();
                c.MoveToWorld(new Point3D(2924, 978, -18), Map);
                c.Movable = false;
                c.ItemID  = 0x2662;
                c.Name    = "Crisp White Shirt";
                list.Add(c);
                break;

            case 2:
                c = new GraveDust();
                c.MoveToWorld(new Point3D(2921, 972, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new NoxCrystal();
                c.MoveToWorld(new Point3D(2921, 972, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0xF91);
                c.MoveToWorld(new Point3D(2921, 972, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new NecromancerSpellbook();
                c.MoveToWorld(new Point3D(2922, 972, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new AnimateDeadScroll();
                c.MoveToWorld(new Point3D(2923, 972, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new HorrificBeastScroll();
                c.MoveToWorld(new Point3D(2923, 972, -18), Map);
                c.Movable = false;
                list.Add(c);

                c = new VampiricEmbraceScroll();
                c.MoveToWorld(new Point3D(2923, 971, -20), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0xFDD);
                c.MoveToWorld(new Point3D(2922, 971, -21), Map);
                list.Add(c);

                c = new Static(0xFDE);
                c.MoveToWorld(new Point3D(2923, 971, -21), Map);
                list.Add(c);

                break;

            case 3:
                c = new JesterSuit();
                c.MoveToWorld(new Point3D(2919, 985, -16), Map);
                c.Movable = false;
                list.Add(c);

                c = new LocalizedStatic(0xE74, 1073424);
                c.MoveToWorld(new Point3D(2919, 984, -11), Map);
                c.Movable = false;
                c.Weight  = 50.0;
                c.Hue     = 0x113;
                list.Add(c);

                c = new JesterHat();
                c.MoveToWorld(new Point3D(2919, 983, -13), Map);
                c.Movable = false;
                c.Hue     = 0x113;
                list.Add(c);

                break;

            case 4:
                c = new Static(0xD25);
                c.MoveToWorld(new Point3D(2916, 984, -13), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x20D9);
                c.MoveToWorld(new Point3D(2916, 982, -12), Map);
                c.Name = "Gargoyle";
                list.Add(c);

                c = new Static(0x2132);
                c.MoveToWorld(new Point3D(2914, 982, -9), Map);
                list.Add(c);

                c = new Static(0x25B6);
                c.MoveToWorld(new Point3D(2913, 982, -13), Map);
                list.Add(c);

                c = new Static(0x25B6);
                c.MoveToWorld(new Point3D(2913, 982, -13), Map);
                list.Add(c);

                c = new Static(0x222E);
                c.MoveToWorld(new Point3D(2915, 983, -14), Map);
                list.Add(c);

                c = new Static(0x2211);
                c.MoveToWorld(new Point3D(2914, 984, -13), Map);
                list.Add(c);

                break;

            case 5:
                c = new LocalizedStatic(0xE30, 1073421);
                c.MoveToWorld(new Point3D(2911, 983, -12), Map);
                c.Weight = 10.0;
                list.Add(c);

                c = new LocalizedStatic(0x2937, 1073422);
                c.MoveToWorld(new Point3D(2911, 984, -13), Map);
                list.Add(c);

                c = new LocalizedStatic(0x12AA, 1073423);
                c.MoveToWorld(new Point3D(2911, 985, -14), Map);
                list.Add(c);

                c = new Static(0xEAF);
                c.MoveToWorld(new Point3D(2910, 985, -21), Map);
                c.Weight = 5.0;
                list.Add(c);

                c = new Static(0xEAE);
                c.MoveToWorld(new Point3D(2910, 986, -21), Map);
                c.Weight = 5.0;
                list.Add(c);

                break;

            case 6:
                c = new Tessen();
                c.MoveToWorld(new Point3D(2910, 966, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Shuriken();
                c.MoveToWorld(new Point3D(2910, 965, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x2855);
                c.MoveToWorld(new Point3D(2910, 964, -16), Map);
                c.Weight = 5.0;
                list.Add(c);

                c = new Static(0x241D);
                c.MoveToWorld(new Point3D(2910, 963, -20), Map);
                c.Weight = 5.0;
                list.Add(c);

                c = new Static(0x2409);
                c.MoveToWorld(new Point3D(2910, 963, -17), Map);
                list.Add(c);

                c = new Static(0x2416);
                c.MoveToWorld(new Point3D(2909, 965, -17), Map);
                list.Add(c);

                break;

            case 7:
                c = new Static(0x3069);
                c.MoveToWorld(new Point3D(2914, 964, -21), Map);
                list.Add(c);

                c = new Static(0x306A);
                c.MoveToWorld(new Point3D(2913, 964, -21), Map);
                list.Add(c);

                c = new Static(0x306B);
                c.MoveToWorld(new Point3D(2912, 964, -21), Map);
                list.Add(c);

                c = new ElvenLoveseatEastAddon();
                c.MoveToWorld(new Point3D(2913, 966, -21), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x2CFC);
                c.MoveToWorld(new Point3D(2912, 963, -21), Map);
                list.Add(c);

                c = new LocalizedStatic(0x2D74, 1073425);
                c.MoveToWorld(new Point3D(2914, 963, -21), Map);
                list.Add(c);


                break;

            case 8:
                c = new Static(0x2);
                c.MoveToWorld(new Point3D(2905, 970, -15), Map);
                list.Add(c);

                c = new Static(0x3);
                c.MoveToWorld(new Point3D(2905, 969, -15), Map);
                list.Add(c);

                c = new OrderShield();
                c.MoveToWorld(new Point3D(2905, 971, -17), Map);
                c.Movable = false;
                list.Add(c);

                c = new Static(0x1579);
                c.MoveToWorld(new Point3D(2904, 971, -21), Map);
                list.Add(c);

                c = new Static(0x1613);
                c.MoveToWorld(new Point3D(2908, 969, -21), Map);
                list.Add(c);

                c = new Static(0x1614);
                c.MoveToWorld(new Point3D(2908, 968, -21), Map);
                list.Add(c);

                break;

            case 9:
                c = new Static(0x1526);
                c.MoveToWorld(new Point3D(2905, 976, -15), Map);
                list.Add(c);

                c = new Static(0x1527);
                c.MoveToWorld(new Point3D(2905, 975, -15), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2905, 972, -21), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2905, 977, -21), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2908, 972, -21), Map);
                list.Add(c);

                c = new Static(0x151A);
                c.MoveToWorld(new Point3D(2908, 977, -21), Map);
                list.Add(c);

                c = new Static(0x1514);
                c.MoveToWorld(new Point3D(2904, 975, -17), Map);
                list.Add(c);

                break;

            case 10:
                c = new Static(0x15C5);
                c.MoveToWorld(new Point3D(2904, 982, -21), Map);
                list.Add(c);

                c = new Static(0x15C5);
                c.MoveToWorld(new Point3D(2904, 979, -21), Map);
                list.Add(c);

                c = new Static(0x157B);
                c.MoveToWorld(new Point3D(2904, 981, -21), Map);
                list.Add(c);

                c = new Static(0x14E3);
                c.MoveToWorld(new Point3D(2905, 980, -21), Map);
                list.Add(c);

                c = new Static(0x14E4);
                c.MoveToWorld(new Point3D(2905, 981, -21), Map);
                list.Add(c);

                c = new Static(0x14E5);
                c.MoveToWorld(new Point3D(2906, 981, -21), Map);
                list.Add(c);

                c = new Static(0x14E6);
                c.MoveToWorld(new Point3D(2906, 980, -21), Map);
                list.Add(c);

                c = new ChaosShield();
                c.MoveToWorld(new Point3D(2905, 978, -19), Map);
                c.Movable = false;
                list.Add(c);

                break;

            case 11:
                c = new FemaleStuddedChest();
                c.MoveToWorld(new Point3D(2912, 976, -16), Map);
                c.Movable = false;
                c.Hue     = 0x497;
                list.Add(c);

                c = new Static(0x1EA8);
                c.MoveToWorld(new Point3D(2913, 973, -13), Map);
                c.Hue = 0x497;
                list.Add(c);

                c = new Static(0x20F8);
                c.MoveToWorld(new Point3D(2913, 975, -11), Map);
                c.Hue = 0x113;
                list.Add(c);

                c = new Static(0x20E9);
                c.MoveToWorld(new Point3D(2912, 974, -11), Map);
                c.Name = "Troll";
                list.Add(c);

                c = new Static(0x2607);
                c.MoveToWorld(new Point3D(2913, 974, -11), Map);
                list.Add(c);

                c = new Static(0x25F9);
                c.MoveToWorld(new Point3D(2912, 975, -11), Map);
                list.Add(c);

                break;

            case 12:
                c = new Static(0x1D8A);
                c.MoveToWorld(new Point3D(2915, 976, -13), Map);
                list.Add(c);

                c = new Static(0x1D8B);
                c.MoveToWorld(new Point3D(2916, 976, -13), Map);
                list.Add(c);

                c = new Static(0x234D);
                c.MoveToWorld(new Point3D(2915, 975, -10), Map);
                list.Add(c);

                c = new WizardsHat();
                c.MoveToWorld(new Point3D(2915, 974, -13), Map);
                c.Movable = false;
                list.Add(c);
                break;
            }

            if (list.Count > 0)
            {
                Tiers.Add(list);
            }
        }
 public ReusableTask AddTrackerAsync(ITracker tracker)
 {
     Tiers.Add(new TrackerTier(tracker));
     return(ReusableTask.CompletedTask);
 }
 public ManualTrackerManager(Uri tracker)
     : this()
 {
     Tiers.Add(new TrackerTier(Factories.Default.CreateTracker(tracker)));
 }
Пример #12
0
 public ManualTrackerManager(Uri tracker)
     : this()
 {
     Tiers.Add(new TrackerTier(TrackerFactory.Create(tracker)));
 }