mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-24 13:16:33 +01:00
Remove str_add since we are using 5e-like stats
This commit is contained in:
parent
d0708b4472
commit
0e44eaf319
14 changed files with 25 additions and 85 deletions
|
|
@ -231,13 +231,7 @@ void affect_total(struct char_data *ch)
|
|||
|
||||
if (IS_NPC(ch) || GET_LEVEL(ch) >= LVL_GRGOD) {
|
||||
GET_STR(ch) = MIN(GET_STR(ch), i);
|
||||
} else {
|
||||
if (GET_STR(ch) > 18) {
|
||||
i = GET_ADD(ch) + ((GET_STR(ch) - 18) * 10);
|
||||
GET_ADD(ch) = MIN(i, 100);
|
||||
GET_STR(ch) = 18;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Insert an affect_type in a char_data structure. Automatically sets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue