Immortals with nohassle can now give away cursed items

This commit is contained in:
Fizban 2010-06-08 02:03:47 +00:00
parent 384d1378d2
commit 8753c3cab2
2 changed files with 5 additions and 3 deletions

View file

@ -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;
}