Dropping Cursed Items

From: Dave Conn (MICROS@SRUVM.SRU.EDU)
Date: 03/19/95


Kirby,

I assume by "working" you are the game implementor (or one of them) here's
a line of code that will allow any immortal character to drop cursed
items.

In act.obj.c find the perform_drop() function and change
    if (IS_OBJ_STAT(obj, ITEM_NODROP)) {
to
    if ((IS_OBJ_STAT(obj, ITEM_NODROP)) && (GET_LEVEL(ch) <= LVL_IMMORT) {

You can, or course, change LVL_IMMORT to lesser god, or anything you want.

Hope this helps,

Dave Conn ("Lannon" - lerch.cpsc.sru.edu 4000)
micros@sruvm.sru.edu



This archive was generated by hypermail 2b30 : 12/07/00 PST