Re: plz help, im going loco

From: Tony Robbins [Kupek] (tonyr@NWPACLINK.COM)
Date: 08/26/98

On Thu, 27 Aug 1998, Ronny Iversen wrote:

> Is it possible to change the affection values of an item without changing
> the proto type
> of the object each reset?. For example an item is basically 3 hit, 3 dam, but
> the game ads a +/- 1 bonus on the original values on every reset.

Yes.  act.create.c on the FTP site does it.

> Ive coded a function to do it, but it keeps changing the proto type values
> when the game boots
> this should be done inside read_object in db.c

When the game starts, it does read_object, so that's why it's modifying
the proto.  Bad place to do it.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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