On Tue, 26 Mar 1996, Todd Kegley wrote: [Code part snipped] > I'm sure there's probably a minor problem in there somewhere, as I'm > writing from memory. The other thing you need to do is write holdhit. > The easy way to do this is get into fight.c and mimic the code for hit. > Unless things have been moved around lately it should be right before > perform_violence near the end of the file. > Well, as this looks similar to the way I implemented I thought I'd just solve all your headaches by saying.. you allso need to modify the holdhit procedure if you simply copy the existing one (hit), as the hit() routines checks for an ITEM_WIELD or soemthing like that.. (key point is, if item is wielded) In your case you need to check for a item thats HELD so, just watch out for that, and I think the rest is quite simple as allready stated. Regards, Con. d. -- *************************************************************************** * * Visit my homepage: * * Rasmus Rønlev DOEK'94 * http://www.econ.cbs.dk/people/raro94ab * * Student instructor * Visit my Multi User Dungeon (MUD): * * * ns3.ptd.net 5000 or 198.80.46.3 5000 * *************************************************************************** * * * Student, B.Sc in Computer Science and Business Administration * * * ***************************************************************************
This archive was generated by hypermail 2b30 : 12/07/00 PST