Re: Percentage chance for item loading

From: Sammy (
Date: 01/31/97

On Thu, 30 Jan 1997, Ron Cole wrote:

> >What I was planning on doing was to add a pointer to the mob in the zone
> >reset command structure (don't remember the name).  Then, if an eq roll
> >fails, you save a placeholder to the mob it was supposed to load to.  Then
> >next zone reset, if the mob is still alive and the roll succeeds, it gets
> >equipped.
> >
> >Sorry if this is incoherent.  I'm a bit sleepy.  
> >
> >Anybody have a better idea?
> Wouldn't it be easier to add a "max per mob" entry to the load commands and
> remove the if?  1 equipped sword, 2 equipped necklaces, etc... add a load gold
> command and unkilled mobs could grow rich over time, up to a max...

You can't remove the if flag.  If the mob loads and the eq doesn't,
trying to load the eq next reset will result in a SYSERR because there's
no pointer to the mob, which is why I said there should be a pointer to
the mob.

I'm not sure how to explain this better, but trust me that it's necessary
to add a pointer to the mob if you want live mobs to be loaded with any
more eq later on.


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

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