Full Version : ok this is goign to make me seam forgetful
xmlspawner >>Q&A >>ok this is goign to make me seam forgetful


<< Prev | Next >>

Crystal Jem- 08-13-2006
Well Since I am Forgetful it's ok with me smile.gif

Can Anyone tell me what to say to set my skillscaps over 100?

thank you


ArteGordon- 08-13-2006
you may be thinking of [setallskills, but that just sets the base, not the cap. I dont know of a standard command for changing all individual skill caps.

If you drop this into your PlayerMobile.cs

CODE

       // ARTEGORDONMOD
       // allow setting all individual skill caps
       public int SetAllCaps
       {
           set
           {
               for (int i = 0; i < Skills.Length; ++i)
                   Skills[i].Cap = value;
           }
       }


you can set all of a player's individual skill caps by just doing

[xmlset setallcaps 120

and targeting the player.

Crystal Jem- 08-13-2006
QUOTE (ArteGordon @ August 13, 2006 10:45 pm)
you may be thinking of [setallskills, but that just sets the base, not the cap. I dont know of a standard command for changing all individual skill caps.

If you drop this into your PlayerMobile.cs

CODE

       // ARTEGORDONMOD
       // allow setting all individual skill caps
       public int SetAllCaps
       {
           set
           {
               for (int i = 0; i < Skills.Length; ++i)
                   Skills[i].Cap = value;
           }
       }


you can set all of a player's individual skill caps by just doing

[xmlset setallcaps 120

and targeting the player.

Tank you So much Atie that works Great smile.gif