mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-30 00:47:19 +02:00
Remove practice command, add skills command, remove guild special room assignment
This commit is contained in:
parent
31e46e739d
commit
5a19b015e3
11 changed files with 27 additions and 139 deletions
|
|
@ -930,13 +930,6 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
|
|||
}
|
||||
snprintf(str, slen, "%s", position_types[GET_POS(c)]);
|
||||
}
|
||||
else if (!str_cmp(field, "prac")) {
|
||||
if (subfield && *subfield) {
|
||||
int addition = atoi(subfield);
|
||||
GET_PRACTICES(c) = MAX(0, GET_PRACTICES(c) + addition);
|
||||
}
|
||||
snprintf(str, slen, "%d", GET_PRACTICES(c));
|
||||
}
|
||||
else if (!str_cmp(field, "pref")) {
|
||||
if (subfield && *subfield) {
|
||||
int pref = get_flag_by_name(preference_bits, subfield);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue