mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-15 05:48:51 +01:00
Immortals with nohassle can now give away cursed items
This commit is contained in:
parent
384d1378d2
commit
8753c3cab2
2 changed files with 5 additions and 3 deletions
|
|
@ -602,7 +602,7 @@ static void perform_give(struct char_data *ch, struct char_data *vict,
|
|||
if (!receive_mtrigger(vict, ch, obj))
|
||||
return;
|
||||
|
||||
if (OBJ_FLAGGED(obj, ITEM_NODROP)) {
|
||||
if (OBJ_FLAGGED(obj, ITEM_NODROP) && !PRF_FLAGGED(ch, PRF_NOHASSLE)) {
|
||||
act("You can't let go of $p!! Yeech!", FALSE, ch, obj, 0, TO_CHAR);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue