Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
AhrefsBot, Google

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
489
3,793
19,650
597
Aileenutz

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Coding » increasing stats
Forum Rules | Mark all | Recent Posts

increasing stats
< Newer Topic :: Older Topic > 30 is a nicer number

Pages:<< prev 1 next >>
Post is unread #1 Feb 10, 2004 1:07 am   
Go to the top of the page
Go to the bottom of the page

xander

GroupMembers
Posts35
JoinedDec 17, 2003

 
Yeah, im increasing the MAX stat for attrprime to 30 instead of 25.. but things start to happen after 25 like max carry weight dropping and such. what file should i look at to increase the limits or re-write the formula's for the stats so they dont start actually "subtracting" from other things?

i only looked for like 3 minutes so posting this may be a lil pre-mature.. but i dont think its goin to be too easy of a find.. but i'll keep lookin.

Post is unread #2 Feb 20, 2004 5:26 pm   Last edited Nov 24, 2007 5:13 pm by Samson
Go to the top of the page
Go to the bottom of the page

DjNiVeK

GroupMembers
Posts12
JoinedDec 14, 2003

 
Dunno if you got it already, but I just tried myself:

Find the Attribute bonus tables in const.c
You'll get something like this:
const	struct	str_app_type	str_app  [61]  =
{
    { -5, -4,    0,  0 },  /* 0  */
    { -5, -4,    3,  1 },  /* 1  */
    { -3, -2,    3,  2 },
    { -3, -1,   10,  3 },  /* 3  */
    { -2, -1,   25,  4 },
    { -2, -1,   55,  5 },  /* 5  */
    { -1,  0,   80,  6 },
    { -1,  0,   90,  7 },
    {  0,  0,  100,  8 },
    {  0,  0,  100,  9 },
    {  0,  0,  115, 10 }, /* 10  */
    {  0,  0,  115, 11 },
    {  0,  0,  140, 12 },
    {  0,  0,  140, 13 }, /* 13  */
    {  0,  1,  170, 14 },
    {  1,  1,  170, 15 }, /* 15  */
    {  1,  2,  195, 16 },
    {  2,  3,  220, 22 },
    {  2,  4,  250, 25 }, /* 18  */
    {  3,  5,  400, 30 },
    {  3,  6,  500, 35 }, /* 20  */
    {  4,  7,  600, 40 },
    {  5,  7,  700, 45 },
    {  6,  8,  800, 50 },
    {  8, 10,  900, 55 },
    { 10, 12,  999, 60 },  /* 25   */
    { 10, 12, 1050, 60 },
    { 11, 14, 1100, 65 },
    { 12, 14, 1210, 65 },
    { 14, 15, 1300, 70 },
    { 14, 15, 1400, 70 },  /* 30 */
    { 14, 15, 1500, 70 },
    { 14, 15, 1550, 75 },
    { 14, 15, 1600, 75 },
    { 14, 15, 1650, 75 },
    { 14, 15, 1700, 75 },
    { 14, 15, 1750, 80 },
    { 14, 15, 1800, 80 },
    { 14, 15, 1850, 80 },
    { 14, 15, 1900, 80 },
    { 14, 15, 1950, 80 },
    { 14, 15, 2000, 85 },
    { 14, 15, 2050, 85 },
    { 14, 15, 2100, 85 },
    { 14, 15, 2150, 85 },
    { 14, 15, 2200, 85 },
    { 14, 15, 2250, 85 },
    { 14, 15, 2300, 85 },
    { 14, 15, 2350, 85 },
    { 14, 15, 2400, 85 },
    { 14, 15, 3000, 90 },  /* 50 */
    { 14, 15, 3100, 90 },
    { 14, 15, 3200, 90 },
    { 14, 15, 3300, 90 },
    { 14, 15, 3400, 90 },
    { 14, 15, 3500, 90 },
    { 14, 15, 3600, 90 },
    { 14, 15, 3700, 90 },
    { 14, 15, 3800, 95 },
    { 14, 15, 3900, 95 },
    { 14, 15, 4000, 95 },  /* 60 */
};


But prolly a lot shorter, lol. Well, what you need to do is to add the
{ 14, 15, 1100, 65 },

or whatever numbers you want to the list. I know the 3th number is the weight. Then make it count (in your case) to 30 and adjust the number in the top (which is 26 if unchanged) to 31. Do the same in mud.h (changing that number in the following code: )
extern	const	struct	str_app_type	str_app  [61];


That will get rid of your weight problems

Pages:<< prev 1 next >>