Re: Circlemud design issues + OBcircle slaying

From: Ghost Shaidan (ghost@AO.NET)
Date: 04/27/98


> Assuming that mob races and classes are coded, how would be the best way to code
> a generic weapons of race or class slaying?  I was thinking of using weapon
> applies and having the modifier mean something.  Can anyone think of a better
> way to do this?

Either put an extra value in the obj file to hold a clas slaying flag
(#define OGRE_SLAYING 0 etc) or put a flag in. (ITEM_OGRE_SLAYER) that
you check for in do_hit in fight.c

I am just putting the thoughts together to do this on my mud.  The part
I am wrestling with is the best way/place to put mobclass specific actions
in. like mobs backstabbing to attack, or healing themslves etc.

Has anyone done this that would like to offer some tips or what to avoid?

I am not looking for code just maybe a tip on where to start, it will
be all over I am sure, because it is a very all encompassing thing, but
the few starts I have made in the distant past have ended up very ugly.

Eek! what a babble.

Thanks for any answers.
Ghost Shaidan


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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