Пример #1
0
        /* Level progression rules. */
        public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                                   ref float gainStr, ref float gainAgi,
                                   ref float gainSta, ref float gainInt, ref float gainSpi)
        {
            if (c.Level <= 17)
            {
                gainHp = 15;
            }
            else
            {
                gainHp = c.Level - 2;
            }
            if (c.Level <= 30)
            {
                gainMana = c.Level + 21;
            }
            else
            {
                gainMana = 51;
            }

            gainStr = ClassHandlers.gainStat(c.Level, 0.000006, 0.002031, 0.278360, -0.340077);
            gainInt = ClassHandlers.gainStat(c.Level, 0.000059, 0.004044, 1.040000, -1.488504);
            gainAgi = ClassHandlers.gainStat(c.Level, 0.000024, 0.000981, 0.364935, -0.570900);
            gainSta = ClassHandlers.gainStat(c.Level, 0.000021, 0.003009, 0.486493, -0.400003);
            gainSpi = ClassHandlers.gainStat(c.Level, 0.000040, 0.006404, 1.038791, -1.039076);
        }
Пример #2
0
 /* Level progression rules. */
 public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                            ref float gainStr, ref float gainAgi,
                            ref float gainSta, ref float gainInt, ref float gainSpi)
 {
     if (c.Level <= 25)
     {
         gainHp = 15;                            // HP below level 25.
     }
     else
     {
         gainHp = c.Level - 8;            // HP above level 25.
     }
     if (c.Level <= 27)
     {
         gainMana = c.Level + 23;                            // Mana at level 27 and below.
     }
     else
     {
         gainMana = 51;              // Mana above level 27.
     }
     gainStr = ClassHandlers.gainStat(c.Level, 0.000002, 0.001003, 0.100890, -0.076055);
     gainInt = ClassHandlers.gainStat(c.Level, 0.000040, 0.007416, 1.125108, -1.003045);
     gainAgi = ClassHandlers.gainStat(c.Level, 0.000008, 0.001001, 0.163190, -0.064280);
     gainSta = ClassHandlers.gainStat(c.Level, 0.000006, 0.002031, 0.278360, -0.340077);
     gainSpi = ClassHandlers.gainStat(c.Level, 0.000039, 0.006981, 1.090090, -1.006070);
 }
Пример #3
0
        /* Level progression rules. */
        public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                                   ref float gainStr, ref float gainAgi,
                                   ref float gainSta, ref float gainInt, ref float gainSpi)
        {
            if (c.Level <= 22)
            {
                gainHp = 15;
            }
            else
            {
                gainHp = c.Level - 6;
            }
            if (c.Level <= 33)
            {
                gainMana = c.Level + 22;
            }
            else
            {
                gainMana = 54;
            }
            if (c.Level == 34)
            {
                gainMana += 15;
            }

            gainStr = ClassHandlers.gainStat(c.Level, 0.000008, 0.001001, 0.163190, -0.064280);
            gainInt = ClassHandlers.gainStat(c.Level, 0.000039, 0.006981, 1.090090, -1.006070);
            gainAgi = ClassHandlers.gainStat(c.Level, 0.000022, 0.000022, 0.260756, -0.494000);
            gainSta = ClassHandlers.gainStat(c.Level, 0.000024, 0.000981, 0.364935, -0.570900);
            gainSpi = ClassHandlers.gainStat(c.Level, 0.000040, 0.007416, 1.125108, -1.003045);
        }
Пример #4
0
        /* Level progression rules. */
        public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                                   ref float gainStr, ref float gainAgi,
                                   ref float gainSta, ref float gainInt, ref float gainSpi)
        {
            if (c.Level <= 14)
            {
                gainHp = 18;
            }
            else
            {
                gainHp = c.Level + 4;
            }
            if (c.Level <= 25)
            {
                gainMana = c.Level + 17;
            }
            else
            {
                gainMana = 42;
            }

            gainStr = ClassHandlers.gainStat(c.Level, 0.000037, 0.005455, 0.940039, -1.000090);
            gainInt = ClassHandlers.gainStat(c.Level, 0.000023, 0.003345, 0.560050, -0.562058);
            gainAgi = ClassHandlers.gainStat(c.Level, 0.000020, 0.003007, 0.505215, -0.500642);
            gainSta = ClassHandlers.gainStat(c.Level, 0.000038, 0.005145, 0.871006, -0.832029);
            gainSpi = ClassHandlers.gainStat(c.Level, 0.000032, 0.003025, 0.615890, -0.640307);
        }
Пример #5
0
        /*
         * Author: Kroy
         *
         * Level progression rules.
         *
         * Parameter c Character to level up.
         * Parameter gainHP Hit points to gain on level up.
         * Parameter gainMana Mana to gain on level up.
         * Parameter gainStr Strength to gain on level up.
         * Parameter gainAgi Agility to gain on level up.
         * Parameter gainSta Stamina to gain on level up.
         * Parameter gainInt Intellect to gain on level up.
         * Parameter gainSpi Spirit to gain on level up.
         */
        public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                                   ref float gainStr, ref float gainAgi, ref float gainSta,
                                   ref float gainInt, ref float gainSpi)
        {
            if (c.Level <= 13)
            {
                gainHp = 17;
            }
            else
            {
                gainHp = c.Level + 4;
            }

            if (c.Level <= 27)
            {
                gainMana = c.Level + 18;
            }
            else
            {
                gainMana = 45;
            }

            gainStr = ClassHandlers.gainStat(c.Level, 0.000022, 0.001800, 0.407867, -0.550889);
            gainInt = ClassHandlers.gainStat(c.Level, 0.000020, 0.003007, 0.505215, -0.500642);
            gainAgi = ClassHandlers.gainStat(c.Level, 0.000040, 0.007416, 1.125108, -1.003045);
            gainSta = ClassHandlers.gainStat(c.Level, 0.000031, 0.004480, 0.780040, -0.800471);
            gainSpi = ClassHandlers.gainStat(c.Level, 0.000017, 0.003803, 0.536846, -0.490026);
        }
Пример #6
0
 /*
  * Author: Kroy
  *
  * Level progression rules.
  *
  * Parameter c Character to level up.
  * Parameter gainHP Hit points to gain on level up.
  * Parameter gainMana Mana to gain on level up.
  * Parameter gainStr Strength to gain on level up.
  * Parameter gainAgi Agility to gain on level up.
  * Parameter gainSta Stamina to gain on level up.
  * Parameter gainInt Intellect to gain on level up.
  * Parameter gainSpi Spirit to gain on level up.
  */
 public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                            ref float gainStr, ref float gainAgi,
                            ref float gainSta, ref float gainInt, ref float gainSpi)
 {
     if (c.Level <= 17)
     {
         gainHp = 17;
     }
     else
     {
         gainHp = c.Level;
     }
     if (c.Level <= 25)
     {
         gainMana = c.Level + 20;
     }
     else
     {
         gainMana = 45;
     }
     gainStr = ClassHandlers.gainStat(c.Level, 0.000021, 0.003009, 0.486493, -0.400003);
     gainInt = ClassHandlers.gainStat(c.Level, 0.000038, 0.005145, 0.871006, -0.832029);
     gainAgi = ClassHandlers.gainStat(c.Level, 0.000041, 0.000440, 0.512076, -1.000317);
     gainSta = ClassHandlers.gainStat(c.Level, 0.000023, 0.003345, 0.560050, -0.562058);
     gainSpi = ClassHandlers.gainStat(c.Level, 0.000059, 0.004044, 1.040000, -1.488504);
 }
Пример #7
0
        /*
         * Author: Kroy
         *
         * Starting stats, abilities, items and spells.
         *
         * Paramter c Character to set class specific starting properties on.
         */
        public static void Start(Character c)
        {
            /* In order: Attack, Unarmed, Staves, Wrath, Healing Touch. */
            c.TrainAbility(new int[] { 0x19CB, 203, 227, 5176, 5185 });
            c.ActionBarAdd(0x19CB);

            /* Stats. */
            c.Str           = c.Str + 1;
            c.Iq            = c.Iq + 2;
            c.Spirit        = c.Spirit + 2;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 54);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseMana      = ClassHandlers.StartingMana(c, 70);
            c.Mana          = c.BaseMana;

            /* Items. */
            if (c.Race == Races.NightElf)
            {             // Night Elf specific.
                c.Equip(new NovicesRobe(), Items.Slots.Chest);
                c.Equip(new HandcraftedStaff(), Items.Slots.MainHand);
            }
            else if (c.Race == Races.Tauren)
            {             // Tauren specific.
                c.Equip(new TaurenNovicesRobe(), Items.Slots.Chest);
                c.Equip(new BentStaff(), Items.Slots.MainHand);
            }             // All druids.
            c.Equip(new NovicesPants(), Items.Slots.Legs);
            c.PutObjectInBackpack(new RefreshingSpringWater(), 2, true);
            c.PutObjectInBackpack(new ShinyRedApple(), 4, true);
            c.CreateAndAddObject("Hearthstone");
        }
Пример #8
0
        /* Level progression rules. */
        public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                                   ref float gainStr, ref float gainAgi,
                                   ref float gainSta, ref float gainInt, ref float gainSpi)
        {
            if (c.Level <= 16)
            {
                gainHp = 17;
            }
            else
            {
                gainHp = c.Level + 1;
            }
            if (c.Level <= 32)
            {
                gainMana = c.Level + 19;
            }
            else
            {
                gainMana = 52;
            }

            gainStr = ClassHandlers.gainStat(c.Level, 0.000035, 0.003641, 0.734310, -0.800626);
            gainInt = ClassHandlers.gainStat(c.Level, 0.000031, 0.004480, 0.780040, -0.800471);
            gainAgi = ClassHandlers.gainStat(c.Level, 0.000022, 0.001800, 0.407867, -0.550889);
            gainSta = ClassHandlers.gainStat(c.Level, 0.000020, 0.006030, 0.809570, -0.809220);
            gainSpi = ClassHandlers.gainStat(c.Level, 0.000038, 0.005145, 0.871006, -0.832029);
        }
Пример #9
0
        /* Starting stats, abilities, items and spells. */
        public static void Start(Character c)
        {
            // Somebody please fill
            c.TrainAbility(new int[] { 0x19CB, 81, 5019, 585, 2050 });
            c.ActionBarAdd(0x19CB);

            /* Stats. */
            c.Iq           += 2;
            c.Spirit       += 3;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 52);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseMana      = ClassHandlers.StartingMana(c, 130);
            c.Mana          = c.BaseMana;

            /* Items. */
            // Author: fulgas ([email protected])
            if (c.Race == Races.Human || c.Race == Races.Dwarf ||
                c.Race == Races.NightElf)
            {
                if (c.Race == Races.NightElf)
                {
                    c.Equip(new NightElfNeophytesRobe(), Items.Slots.Chest);
                }
                else                 // Human and Dwarf
                {
                    c.Equip(new NeophytesRobe(), Items.Slots.Chest);
                }
                if (c.Race == Races.Human || c.Race == Races.NightElf)
                {
                    c.PutObjectInBackpack(new DarnassianBleu(), 4, true);
                }
                else                 // Dwarf
                {
                    c.PutObjectInBackpack(new ToughHunkOfBread(), 4, true);
                }
                c.Equip(new NeophytesBoots(), Items.Slots.Feet);
            }
            else
            {
                c.Equip(new HordeNeophytesRobe(), Items.Slots.Chest);
                if (c.Race == Races.Undead)
                {
                    c.Equip(new NeophytesBoots(), Items.Slots.Feet);
                    c.PutObjectInBackpack(new ForestMushroomCap(), 4, true);
                }
                else                 // Troll
                {
                    c.PutObjectInBackpack(new ToughHunkOfBread(), 4, true);
                }
            }
            c.Equip(new NeophytesShirt(), Items.Slots.Shirt);
            c.Equip(new NeophytesPants(), Items.Slots.Legs);
            c.Equip(new WornMace(), Items.Slots.MainHand);
            c.PutObjectInBackpack(new RefreshingSpringWater(), 2, true);
            c.CreateAndAddObject("Hearthstone");
        }
Пример #10
0
        /* Starting stats, abilities, items and spells. */
        public static void Start(Character c)
        {
            c.TrainAbility(new int[] { 0x19CB, 133, 168, 1459, 5504,
                                       587 });
            c.ActionBarAdd(0x19CB);

            /* Stats. */
            c.Iq            = c.Iq + 3;
            c.Spirit        = c.Spirit + 2;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 52);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseMana      = ClassHandlers.StartingMana(c, 120);
            c.Mana          = c.BaseMana;

            /* Items. */
            // Author: fulgas ([email protected])
            if ((c.Race == Races.Human) || (c.Race == Races.Dwarf) || c.Race == Races.Gnome)
            {
                if (c.Race == Races.Human || (c.Race == Races.Gnome))
                {
                    c.Equip(new ApprenticesRobe(), Items.Slots.Chest);
                    if (c.Race == Races.Human)                      // human
                    {
                        c.PutObjectInBackpack(new DarnassianBleu(), 2, true);
                    }
                    else                     // gnome
                    {
                        c.PutObjectInBackpack(new ShinyRedApple(), 2, true);
                    }
                }
                else if (c.Race == Races.Dwarf)                 // Dwarf
                {
                    c.Equip(new DwarfApprenticesRobe(), Items.Slots.Chest);
                    c.PutObjectInBackpack(new ToughHunkOfBread(), 2, true);
                }
            }
            else
            {
                c.Equip(new HordeApprenticesRobe(), Items.Slots.Chest);
                if (c.Race == Races.Undead)                  // undead
                {
                    c.PutObjectInBackpack(new ForestMushroomCap(), 2, true);
                }
                else                 // troll
                {
                    c.PutObjectInBackpack(new ToughJerky(), 2, true);
                }
            }
            c.Equip(new ApprenticesShirt(), Items.Slots.Shirt);
            c.Equip(new ApprenticesPants(), Items.Slots.Legs);
            c.Equip(new ApprenticesBoots(), Items.Slots.Feet);
            c.Equip(new BentStaff(), Items.Slots.MainHand);
            c.PutObjectInBackpack(new RefreshingSpringWater(), 4, true);
            c.CreateAndAddObject("Hearthstone");
        }
Пример #11
0
        /* Level progression rules. */
        public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                                   ref float gainStr, ref float gainAgi,
                                   ref float gainSta, ref float gainInt, ref float gainSpi)
        {
            if (c.Level <= 14)
            {
                gainHp = 19;
            }
            else
            {
                gainHp = c.Level + 10;
            }

            gainStr = ClassHandlers.gainStat(c.Level, 0.000039, 0.006902, 1.080040, -1.051701);
            gainInt = ClassHandlers.gainStat(c.Level, 0.000002, 0.001003, 0.100890, -0.076055);
            gainAgi = ClassHandlers.gainStat(c.Level, 0.000022, 0.004600, 0.655333, -0.600356);
            gainSta = ClassHandlers.gainStat(c.Level, 0.000059, 0.004044, 1.040000, -1.488504);
            gainSpi = ClassHandlers.gainStat(c.Level, 0.000006, 0.002031, 0.278360, -0.340077);
        }
Пример #12
0
        /* Level progression rules. */
        public static void LevelUp(Character c, ref int gainHp, ref int gainMana,
                                   ref float gainStr, ref float gainAgi,
                                   ref float gainSta, ref float gainInt, ref float gainSpi)
        {
            if (c.Level <= 15)
            {
                gainHp = 17;
            }
            else
            {
                gainHp = c.Level + 2;
            }

            gainStr = ClassHandlers.gainStat(c.Level, 0.000025, 0.004170, 0.654096, -0.601491);
            gainInt = ClassHandlers.gainStat(c.Level, 0.000008, 0.001001, 0.163190, -0.064280);
            gainAgi = ClassHandlers.gainStat(c.Level, 0.000038, 0.007834, 1.191028, -1.203940);
            gainSta = ClassHandlers.gainStat(c.Level, 0.000032, 0.003025, 0.615890, -0.640307);
            gainSpi = ClassHandlers.gainStat(c.Level, 0.000024, 0.000981, 0.364935, -0.570900);
        }
Пример #13
0
        /* Starting stats, abilities, items and spells. */
        public static void Start(Character c)
        {
            c.TrainAbility(new int[] { 0x19CB, 5019, 686, 687, 1180, 5009,
                                       9078 });
            c.ActionBarAdd(0x19CB);

            /* Stats. */
            c.Stamina      += 1;
            c.Iq           += 2;
            c.Spirit       += 2;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 43);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseMana      = ClassHandlers.StartingMana(c, 110);
            c.Mana          = c.BaseMana;

            /* Items. */
            // Author: fulgas ( [email protected] )
            if ((c.Race == Races.Human) || (c.Race == Races.Gnome))               // human and gnome
            {
                c.Equip(new AcolytesRobe(), Items.Slots.Chest);
                c.Equip(new AcolytesShirt(), Items.Slots.Shirt);
                c.PutObjectInBackpack(new ForestMushroomCap(), 2, true);
            }
            else
            {
                c.Equip(new HordeAcolytesRobe(), Items.Slots.Chest);
                if (c.Race == Races.Orc)                   // orc
                {
                    c.PutObjectInBackpack(new ToughJerky(), 2, true);
                }
                else                 // Undead
                {
                    c.PutObjectInBackpack(new ForestMushroomCap(), 2, true);
                }
            }
            c.Equip(new AcolytesPants(), Items.Slots.Legs);
            c.Equip(new AcolytesShoes(), Items.Slots.Feet);
            c.Equip(new WornDagger(), Items.Slots.MainHand);
            c.PutObjectInBackpack(new RefreshingSpringWater(), 4, true);
            c.CreateAndAddObject("Hearthstone");
        }
Пример #14
0
        /* Starting stats, abilities, items and spells. */
        public static void Start(Character c)
        {
            // Somebody please fill corectly
            c.TrainAbility(new int[] { 0x19CB });
            c.ActionBarAdd(0x19CB);

            /* Stats. */
            c.Str          += 1;
            c.Stamina      += 1;
            c.Iq           += 1;
            c.Spirit       += 2;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 47);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseMana      = ClassHandlers.StartingMana(c, 75);
            c.Mana          = c.BaseMana;

            /* Items. */
            // Author: fulgas ([email protected])
            if ((c.Race == Races.Orc) || (c.Race == Races.Tauren))
            {
                c.Equip(new PrimitiveMantle(), Items.Slots.Shirt);
                c.Equip(new PrimitiveKilt(), Items.Slots.Legs);
                if (c.Race == Races.Orc)
                {
                    c.PutObjectInBackpack(new ToughJerky(), 2, true);
                }
                else
                {
                    c.PutObjectInBackpack(new ForestMushroomCap(), 2, true);
                }
            }
            else             // troll
            {
                c.Equip(new TrollPrimitiveMantle(), Items.Slots.Shirt);
                c.Equip(new TrollPrimitiveKilt(), Items.Slots.Legs);
                c.PutObjectInBackpack(new ToughJerky(), 2, true);
            }
            c.Equip(new WornMace(), Items.Slots.MainHand);
            c.PutObjectInBackpack(new RefreshingSpringWater(), 4, true);
            c.CreateAndAddObject("Hearthstone");
        }
Пример #15
0
        /* Starting stats, abilities, items and spells. */
        public static void Start(Character c)
        {
            c.TrainAbility(new int[] { 0x19CB, 20154, 107, 635, 198, 199, 9078,
                                       9077, 8737, 9116 });
            c.ActionBarAdd(0x19CB);

            Item it = new ToughHunkOfBread();

            /* Stats. */
            c.Str          += 2;
            c.Stamina      += 2;
            c.Spirit       += 1;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 38);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseMana      = ClassHandlers.StartingMana(c, 80);
            c.Mana          = c.BaseMana;

            /* Items. */
            // Author: fulgas ( [email protected])
            // 11-05-2005
            if (c.Race == Races.Human)
            {
                c.Equip(new SquiresPants(), Items.Slots.Legs);
                c.Equip(new SquiresShirt(), Items.Slots.Shirt);
                c.PutObjectInBackpack(new DarnassianBleu(), 2, true);
            }
            if (c.Race == Races.Dwarf)
            {
                c.Equip(new DwarfSquiresShirt(), Items.Slots.Shirt);
                c.Equip(new DwarfSquiresPants(), Items.Slots.Legs);
                c.PutObjectInBackpack(new ToughHunkOfBread(), 3, true);
            }
            c.Equip(new SquiresBoots(), Items.Slots.Feet);
            c.Equip(new BattlewornHammer(), Items.Slots.MainHand);
            c.PutObjectInBackpack(new RefreshingSpringWater(), 2, true);
            c.CreateAndAddObject("Hearthstone");
        }
Пример #16
0
        /*
         * Author: Kroy
         *
         * Starting stats, abilities, items and spells.
         *
         * Paramter c Character to set class specific starting properties on.
         */
        public static void Start(Character c)
        {
            /* In order: Attack, Shot, Unarmed. */
            //c.TrainAbility(new int[] {0x19CB, 5019, 203});
            c.TrainAbility(new int[] { 0x19CB, 203, 13795, 75, 266, 7918 });
            c.ActionBarAdd(0x19CB);
            c.ActionBarAdd(75);

            /* Stats. */
            c.Agility       = c.Agility + 3;
            c.Stamina       = c.Stamina + 1;
            c.Spirit        = c.Spirit + 1;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 46);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseMana      = ClassHandlers.StartingMana(c, 85);
            c.Mana          = c.BaseMana;

            /* Items. */
            if (c.Race == Races.Orc)
            {             // Orc specific.
                /* In order: One-Handed Axes, Bows, Daggers.*/
                c.TrainAbility(new int[] { 196, 264, 1180 });
                c.Equip(new TrappersShirt(), Items.Slots.Shirt);
                c.Equip(new TrappersPants(), Items.Slots.Legs);
                c.Equip(new TrappersBoots(), Items.Slots.Feet);
                c.Equip(new WornAxe(), Items.Slots.MainHand);
                c.Equip(new WornShortbow(), Items.Slots.Ranged);
                c.PutObjectInBackpack(new RoughArrow(), 100, true);
                c.CreateAndAddObject("LightQuiver", 1);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if (c.Race == Races.Dwarf)
            {             // Dwarf specific.
                /* In order: One-Handed Axes, Guns, Daggers.*/
                c.TrainAbility(new int[] { 196, 266, 1180 });
                c.Equip(new RuggedTrappersShirt(), Items.Slots.Shirt);
                c.Equip(new RuggedTrappersPants(), Items.Slots.Legs);
                c.Equip(new RuggedTrappersBoots(), Items.Slots.Feet);
                c.Equip(new WornAxe(), Items.Slots.MainHand);
                c.Equip(new OldBlunderbuss(), Items.Slots.Ranged);
                c.PutObjectInBackpack(new LightShot(), 100, true);
                c.CreateAndAddObject("SmallAmmoPouch", 1);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if (c.Race == Races.NightElf)
            {             // Night Elf specific.
                /* In order: Bows, Daggers.*/
                c.TrainAbility(new int[] { 264, 1180 });
                c.Equip(new RuggedTrappersShirt(), Items.Slots.Shirt);
                c.Equip(new RuggedTrappersPants(), Items.Slots.Legs);
                c.Equip(new RuggedTrappersBoots(), Items.Slots.Feet);
                c.Equip(new WornDagger(), Items.Slots.MainHand);
                c.Equip(new WornShortbow(), Items.Slots.Ranged);
                c.PutObjectInBackpack(new RoughArrow(), 100, true);
                c.CreateAndAddObject("LightQuiver", 1);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }

            else if (c.Race == Races.Tauren)
            {             // Tauren specific.
                /* In order: One-Handed Axes, Guns. */
                c.TrainAbility(new int[] { 196, 266 });
                c.Equip(new TrappersShirt(), Items.Slots.Shirt);
                c.Equip(new TrappersPants(), Items.Slots.Legs);
                c.Equip(new WornAxe(), Items.Slots.MainHand);
                c.Equip(new OldBlunderbuss(), Items.Slots.Ranged);
                c.PutObjectInBackpack(new LightShot(), 100, true);
                c.CreateAndAddObject("SmallAmmoPouch", 1);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if (c.Race == Races.Troll)
            {             // Troll specific.
                /* In order: One-Handed Axes, Bows, Daggers.*/
                c.TrainAbility(new int[] { 196, 264, 1180 });
                c.Equip(new TrappersShirt(), Items.Slots.Shirt);
                c.Equip(new TrappersPants(), Items.Slots.Legs);
                c.Equip(new WornAxe(), Items.Slots.MainHand);
                c.Equip(new WornShortbow(), Items.Slots.Ranged);
                c.PutObjectInBackpack(new RoughArrow(), 100, true);
                c.CreateAndAddObject("LightQuiver", 1);
                c.PutObjectInBackpack(new ForestMushroomCap(), 4, true);
            }            // All hunters.
            c.PutObjectInBackpack(new RefreshingSpringWater(), 2, true);
            c.CreateAndAddObject("Hearthstone");
        }
Пример #17
0
        /* Starting stats, abilities, items and spells.
         * Battle Stance, Battle Stance Passive, Heroic Strike, Parry, Block, Dodge,
         * Cloth, Leather, Mail, Shield, Unarmed, Attack*/
        public static void Start(Character c)
        {
            c.TrainAbility(new int[] { 0x0999, 0x52A4, 0xC37, 0x6B, 0x4E, 0x51,
                                       0x2376, 0x2375, 0x2221, 0x239C, 0xCB, 0x19CB, });

            /* Bows, Guns, Crossbows
             * 0x108, 0x10A, 0x1393
             * Shoot Bows 0x09B0,
             * Shoot Guns 0x1EEE,
             * Shoot Crossbows 0x1EEF,
             * Auto Shot 0x4B,
             * Throw(Thrown) 0xACC,
             * Thrown 0xA07,
             * Axes, Maces, Swords
             * 0xC4, 0xC6, 0xC9,
             * Two-Handed Axes 0xC5,
             * Two-Handed Maces 0xC7,
             * Two-Handed Swords 0xCA,
             * Daggers 0x49C,
             * Plate Mail 0x2EE,
             * Train Plate Mail 0x3FC0,*/
            c.ActionBarAdd(0x19CB);

            /* Stats. */
            c.Str          += 3;
            c.Stamina      += 2;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 40);
            c.HitPoints     = c.BaseHitPoints;
            c.BaseRage      = 1000;
            c.Rage          = 0;

            /* Items. */
            // Author: fulgas ( [email protected] ) 10-05-2005
            // spell check Nigth => Night
            if (c.Race == Races.Human)                           // Human
            {
                c.TrainAbility(new int[] { 0xC4, 0xC6, 0xC9, }); // Axes, Maces, Swords
                c.Equip(new WornShortsword(), Items.Slots.MainHand);
                c.Equip(new WornWoodenShield(), Items.Slots.OffHand);
                c.Equip(new RecruitsShirt(), Items.Slots.Shirt);
                c.Equip(new RecruitsPants(), Items.Slots.Legs);
                c.Equip(new RecruitsBoots(), Items.Slots.Feet);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if (c.Race == Races.NightElf)                    // NightElf
            {
                c.TrainAbility(new int[] { 0xC6, 0xC9, 0x49C, }); // Maces, Swords, Daggers
                c.Equip(new WornShortsword(), Items.Slots.MainHand);
                c.Equip(new WornWoodenShield(), Items.Slots.OffHand);
                c.Equip(new NightElfRecruitsShirt(), Items.Slots.Shirt);
                c.Equip(new NightElfRecruitsPants(), Items.Slots.Legs);
                c.Equip(new NightElfRecruitsBoots(), Items.Slots.Feet);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if ((c.Race == Races.Dwarf))                    // Dwarf
            {
                c.TrainAbility(new int[] { 0xC4, 0xC5, 0xC6, }); // Axes, Two-Handed Axes, Maces
                c.Equip(new WornBattleaxe(), Items.Slots.MainHand);
                c.Equip(new RecruitsShirt(), Items.Slots.Shirt);
                c.Equip(new RecruitsPants(), Items.Slots.Legs);
                c.Equip(new RecruitsBoots(), Items.Slots.Feet);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if (c.Race == Races.Gnome)                       // Gnome
            {
                c.TrainAbility(new int[] { 0xC6, 0xC9, 0x49C, }); // Maces, Swords, Daggers
                c.Equip(new WornShortsword(), Items.Slots.MainHand);
                c.Equip(new WornWoodenShield(), Items.Slots.OffHand);
                c.Equip(new RecruitsShirt(), Items.Slots.Shirt);
                c.Equip(new RecruitsPants(), Items.Slots.Legs);
                c.Equip(new RecruitsBoots(), Items.Slots.Feet);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if (c.Race == Races.Orc)                        // Orc
            {
                c.TrainAbility(new int[] { 0xC4, 0xC5, 0xC9, }); // Axes, Two-Handed Axes, Swords
                c.Equip(new WornBattleaxe(), Items.Slots.MainHand);
                c.Equip(new BrawlersHarness(), Items.Slots.Shirt);
                c.Equip(new BrawlersPants(), Items.Slots.Legs);
                c.Equip(new BrawlersBoots(), Items.Slots.Feet);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            else if (c.Race == Races.Undead)                      // Undead
            {
                c.TrainAbility(new int[] { 0xC9, 0xCA, 0x49C, }); // Swords, Two-Handed Swords, Daggers
                c.Equip(new WornShortsword(), Items.Slots.MainHand);
                c.Equip(new WornWoodenShield(), Items.Slots.OffHand);
                c.Equip(new BrawlersHarness(), Items.Slots.Shirt);
                c.Equip(new BrawlersPants(), Items.Slots.Legs);
                c.Equip(new BrawlersBoots(), Items.Slots.Feet);
                c.PutObjectInBackpack(new ForestMushroomCap(), 4, true);
            }
            else if (c.Race == Races.Tauren)                     //Tauren
            {
                c.TrainAbility(new int[] { 0xC4, 0xC6, 0xC7, }); // Axes, Maces, Two-Handed Maces
                c.Equip(new BattlewornHammer(), Items.Slots.MainHand);
                c.Equip(new BrawlersHarness(), Items.Slots.Shirt);
                c.Equip(new BrawlersPants(), Items.Slots.Legs);
                c.PutObjectInBackpack(new ToughHunkOfBread(), 4, true);
            }
            else if (c.Race == Races.Troll)                               // Troll
            {
                c.TrainAbility(new int[] { 0xC4, 0x49C, 0xA07, 0xACC, }); // Axes, Daggers, Thrown, Throw(Thrown)
                c.Equip(new WornAxe(), Items.Slots.MainHand);
                c.Equip(new WornWoodenShield(), Items.Slots.OffHand);
                c.Equip(new BrawlersHarness(), Items.Slots.Shirt);
                c.Equip(new BrawlersPants(), Items.Slots.Legs);
                c.PutObjectInBackpack(new CrudeThrowingAxe(), 100, true);
                c.PutObjectInBackpack(new ToughJerky(), 4, true);
            }
            c.CreateAndAddObject("Hearthstone");
        }
Пример #18
0
        /* Starting stats, abilities, items and spells. */
        public static void Start(Character c)
        {
            c.TrainAbility(new int[] { 0x19CB, 1180, 5009, 2764,
                                       9078, 1752, 2098 });
            c.ActionBarAdd(0x19CB);


            /* Stats. */
            c.Str          += 1;
            c.Stamina      += 1;
            c.Agility      += 3;
            c.BaseHitPoints = ClassHandlers.StartingHP(c, 45);
            c.HitPoints     = c.BaseHitPoints;
            c.ManaType      = 3;

            /* Items. */
            // Author: fulgas ([email protected])
            if (c.Race == Races.Human || c.Race == Races.Dwarf ||
                c.Race == Races.NightElf || c.Race == Races.Gnome)
            {
                c.Equip(new FootpadsShirt(), Items.Slots.Shirt);
                c.Equip(new FootpadsPants(), Items.Slots.Legs);
                c.Equip(new FootpadsShoes(), Items.Slots.Feet);
                if (c.Race == Races.Human || c.Race == Races.NightElf ||
                    c.Race == Races.Gnome)
                {
                    c.PutObjectInBackpack(new SmallThrowingKnife(), 100, true);
                    if (c.Race == Races.Human)
                    {
                        c.PutObjectInBackpack(new DarnassianBleu(), 4, true);
                    }
                    else if (c.Race == Races.NightElf)
                    {
                        c.PutObjectInBackpack(new ToughHunkOfBread(), 4, true);
                    }
                    else                     // gnome
                    {
                        c.PutObjectInBackpack(new ToughJerky(), 4, true);
                    }
                }
                else                 // Dwarf
                {
                    c.PutObjectInBackpack(new CrudeThrowingAxe(), 100, true);
                    c.PutObjectInBackpack(new ToughHunkOfBread(), 4, true);
                }
            }
            else
            {
                if (c.Race == Races.Troll)
                {
                    c.Equip(new TrollThugShirt(), Items.Slots.Shirt);
                    c.Equip(new TrollThugPants(), Items.Slots.Legs);
                    c.Equip(new TrollThugBoots(), Items.Slots.Feet);
                }
                else                 // orc
                {
                    c.Equip(new ThugShirt(), Items.Slots.Shirt);
                    c.Equip(new ThugPants(), Items.Slots.Legs);
                    c.Equip(new ThugBoots(), Items.Slots.Feet);
                }
                if (c.Race == Races.Orc || c.Race == Races.Troll)
                {
                    c.PutObjectInBackpack(new CrudeThrowingAxe(), 100, true);
                    c.PutObjectInBackpack(new ToughJerky(), 4, true);
                }
                else                 // undead
                {
                    c.PutObjectInBackpack(new SmallThrowingKnife(), 100, true);
                    c.PutObjectInBackpack(new ForestMushroomCap(), 4, true);
                }
            }
            c.Equip(new WornDagger(), Items.Slots.MainHand);
            c.CreateAndAddObject("Hearthstone");
        }