mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-14 00:16:16 +01:00
Added max_mortal_level and Admin Poison check --Rumble
This commit is contained in:
parent
6c2252ce89
commit
0955ee8864
2 changed files with 3 additions and 1 deletions
|
|
@ -926,7 +926,7 @@ ACMD(do_drink)
|
|||
if (GET_COND(ch, HUNGER) > 20)
|
||||
send_to_char(ch, "You are full.\r\n");
|
||||
|
||||
if (GET_OBJ_VAL(temp, 3)) { /* The crap was poisoned ! */
|
||||
if (GET_OBJ_VAL(temp, 3) && (!ADM_FLAGGED(ch, ADM_NOPOISON))) { /* The crap was poisoned! */
|
||||
send_to_char(ch, "Oops, it tasted rather strange!\r\n");
|
||||
act("$n chokes and utters some strange sounds.", TRUE, ch, 0, 0, TO_ROOM);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue