mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-25 18:36:10 +01:00
[Jul 03 2008] - Rumble
Fixed lib/messages to properly display skill, spell, and damage messages. (thanks T ink) [Jun 28 2008] - Rumble Added player ability to cancel queued commands. i.e. player spammed kick while figh ting but needs to flee so they type '--' to cancel so they can flee. (thanks Jamdog)
This commit is contained in:
parent
66d4a9d3eb
commit
2053b2d4a8
8 changed files with 81 additions and 80 deletions
|
|
@ -854,7 +854,7 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
|
|||
}
|
||||
snprintf(str, slen, "%d", GET_PRACTICES(c));
|
||||
}
|
||||
else if (!str_cmp(field, "pref")) {
|
||||
else if (!str_cmp(field, "pref") && IS_NPC(c)) {
|
||||
if (subfield && *subfield) {
|
||||
int pref = get_flag_by_name(preference_bits, subfield);
|
||||
if (pref != NOFLAG && PRF_FLAGGED(c, pref))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue