mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-14 03:54:21 +01:00
Added hitroll and damroll fields to DG, and made Triggers attached to players show on stat
This commit is contained in:
parent
bc95dfe20e
commit
19766c1be6
2 changed files with 17 additions and 4 deletions
|
|
@ -931,8 +931,6 @@ void do_stat_character(struct char_data *ch, struct char_data *k)
|
|||
send_to_char(ch, "%sPOOFOUT: %s%s disappears in a puff of smoke.%s\r\n", QYEL, QCYN, GET_NAME(k), QNRM);
|
||||
}
|
||||
|
||||
/* check mobiles for a script */
|
||||
if (IS_NPC(k)) {
|
||||
do_sstat_character(ch, k);
|
||||
if (SCRIPT_MEM(k)) {
|
||||
struct script_memory *mem = SCRIPT_MEM(k);
|
||||
|
|
@ -950,7 +948,8 @@ void do_stat_character(struct char_data *ch, struct char_data *k)
|
|||
mem = mem->next;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
if (!(IS_NPC(k))) {
|
||||
/* this is a PC, display their global variables */
|
||||
if (k->script && k->script->global_vars) {
|
||||
struct trig_var_data *tv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue