Re: adding race, class to hit

From: ;P (siv@CYBERENET.NET)
Date: 11/23/97


> Can anyone recommend a quick place to add race and class to the list of
> keywords you can use to attack a player? I've mucked about in
> handler.h: get_char_room_vis, but don't want to have to change that
> prototype and then change it everywhere it shows up..

how about in isname...just add a couple lines comparing the char
*races[GET_RACE(ch)] (or whatever you're string array for races is) with
the string that isname is called with..you'll find that function in
interpreter.c

siv


     +------------------------------------------------------------+
     | 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/08/00 PST