From 8753c3cab2da4fb330e1b830ed756fee6e2254ef Mon Sep 17 00:00:00 2001 From: Fizban Date: Tue, 8 Jun 2010 02:03:47 +0000 Subject: [PATCH] Immortals with nohassle can now give away cursed items --- changelog | 6 ++++-- src/act.item.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/changelog b/changelog index 34f08eb..3879aeb 100644 --- a/changelog +++ b/changelog @@ -35,7 +35,8 @@ export (QQ's a zone into a tarball) Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) (lots of major bugfixes too) @ -tbaMUD 3.61 +[Jun 07 2010] - Fizban + Enabled nohassled immortals to give cursed items to other players. [May 19 2010] - Rumble Gave Arne Troffaes proper credit for fixing Cygwin syslog rotation. [May 16 2010] - Rumble @@ -63,6 +64,7 @@ Mar 17 2010] - Fizban Edited scuba check so immortals with nohassle on don't need one. [Jan 18 2010] - Rumble Fixed bad AFF_SCUBA check for underwater rooms. +tbaMUD 3.61 [Dec 28 2009] - Rumble Fixed bug where an immortal could cast 'invis' and then be unable to break it with vis. [Dec 25 2009] - Rumble @@ -1019,7 +1021,7 @@ CircleMUD 3.5 - Added buildwalk and dig. Release history: -Version 3.60 release: January, 2010 +Version 3.61 release: January, 2010 Version 3.60 release: September, 2009 Version 3.59 release: April, 2009 Version 3.58 release: January, 2009 diff --git a/src/act.item.c b/src/act.item.c index bb7afbb..cd23c7e 100644 --- a/src/act.item.c +++ b/src/act.item.c @@ -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; }