int get_curr_stat( CHAR_DATA *ch, int stat )
{
int max;
if (IS_NPC(ch) || ch->level == LEVEL_IMMORTAL)
max = 35;
if (IS_NPC(ch) || ch->level == LEVEL_LORD)
max = 30;
if (IS_NPC(ch) || ch->level == LEVEL_HERO)
max = 25;
else
if (!str_cmp (argument, "str"))
{
if (class_table[ch->class].attr_prime == STAT_STR)
cost = 1;
stat = STAT_STR;
pOutput = "strength";
}
if (!str_cmp (argument, "str") && ch->perm_stat[STAT_STR] < 50)
{
if (class_table[ch->class].attr_prime == STAT_STR)
cost = 1;
stat = STAT_STR;
pOutput = "strength";
}
else
{
stc("You can't train your strength any higher than 50.\r\n",ch);
return;
}
{
"human", "Human", 0, {100, 100, 100, 100},
{""},
{13, 13, 13, 13, 13}, {18, 18, 18, 18, 18}, SIZE_MEDIUM},
const struct dex_app_type dex_app[31] = {
{60}, /* 0 */
{50}, /* 1 */
{50},
{40},
{30},
{20}, /* 5 */
{10},
{0},
{0},
{0},
{0}, /* 10 */
{0},
{0},
{0},
{0},
{-10}, /* 15 */
{-15},
{-20},
{-30},
{-40},
{-50}, /* 20 */
{-60},
{-75},
{-90},
{-105},
{-120}, /* 25 */
/*add extra dex stats*/
{-125},
{-130}, /* 27 */
{-135},
{-140},
{-145} /* 30 */
};
I've tried simply editing the races and making their stats high, but the mud restricts them from going about 25.