`_.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._' Multiple Attacks Per Round (apr) Patch Copyright 1996, by Daniel Koepke `_.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._.,-'~'-,._' I. Introduction =============== This is a small patch to implement a skill-based multiple attacks per round (apr) feature. The code is small and almost entirely inside perform_violence(), fight.c. No new functions have been added. It might be better if I had added a new function to get the apr for a particular character instead of what I am doing now with putting the code directly in perform_violence(). The only real downside of the way I have it now is that is slightly more cluttered. II. Standard (Keep-me-from-court) Disclaimer ============================================ Use this at your own risks. There is (like pretty much all code) some bugs. That is to be expected. I am giving you this, so I expect that, in return, you will send me improvements you add, or report any bugs you encounter. My e-mail address is dkoepke@california.com. You do not need to give me credit for this. I ask, though, that you do not take credit for it. I appreciate any credit you give me. Of course, you have to follow the CircleMUD license... but that goes without saying and you are *obviously* already doing that [pssst, read doc/license.doc if you haven't, yet]. I believe this patch, because of it's size, to be entirely bug free. But if you find any, don't hesistate to prove me wrong. III. Installing =============== Okay, now on to how to install this thing... Move the multi_hit.diff file to the src/ directory. Go into the src/ directory and type: % patch < multi_hit.diff If you get any failures/rejects, look at the .rej files and manually install from that (key: '+' is add, '-' is remove, '!' is change). If the entire thing fails, manually patch from the multi_hit.diff file (same key). IV. For the Coders ================== Here's some basics about how this works: SKILL: SKILL_SECOND_ATTACK, SKILL_x (141) The skill for second attacks. Levels [C28, T8, W10] SKILL: SKILL_THIRD_ATTACK, SKILL_x (142) The skill for third attacks. Levels [T22, W20] V. Other Patches By Me ====================== The below are availible at the CircleMUD anonymous ftp site (see below for the address): Filename: new.do_who.diff.gz, /pub/CircleMUD/contrib/code Usage : A replacement for do_who(), it splits apart immortals and mortals, gives immortals a "who title" ("Immortal" instead of "31 War"), keeps a count of highest players on per boot, and a little bit more. Filename: mount.diff.gz, /pub/CircleMUD/contrib/code Usage : A small, basic mount system with a TAME skill, your mount taking the move point cost, and a little more. Filename: obj_mail.diff.gz, /pub/CircleMUD/contrib/code Usage : Permits attaching of objects to mail Filename: new_prompt.diff.gz, /pub/CircleMUD/contrib/code Usage : Enhanced prompt code that interprets a character's prompt. Beware: THIS WILL CHANGE YOUR PFILE! Filename: query_ansi.diff.gz, /pub/CircleMUD/contrib/code Usage : A patch to query a logging in user for whether they want ANSI color support on/off before display of the title screen. Actually quite useful... VI. Popular CircleMUD Sites =========================== Anonymous ftp : [ftp.circlemud.org] Homepage : [http://www.circlemud.org/] Code snippets : [http://cspo.queensu.ca/~fletcher/Circle/Snippet/] Have fun and godspeed, -- Daniel Koepke dkoepke@california.com Forgive me father, for I am sin.