On Fri, 17 Apr 1998, Scott Wermter wrote: > The cityguard ducks under your fist as you try to hit him. > Your blood freezes as you hear the cityguard's death cry. This is a case of reading the code. In interpreter.c find the command that is called for 'hit' or 'kill'. It will look like so: { "kill" , POS_FIGHTING, do_kill , 0, 0 }, This obviously called ACMD(do_kill) which is in act.offensive.c. Load up that file and walk through your code. Don't read it silently. Read it aloud and annoy those around you. It will help you realize what your code is doing and you will be able to figure out what the code is doing. John Evans <evansj@hi-line.net> -- http://www.hi-line.net/~evansj/ Any sufficiently advanced technology is indistinguishable from magic. -- Arthur C. Clarke +------------------------------------------------------------+ | 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