<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Combat systems --> <!--X-From-R13: "@rvy Sqjneqf" <arvyrqNpynen.arg> --> <!--X-Date: Sat, 11 Dec 1999 07:08:00 -0800 --> <!--X-Message-Id: E11wkYj-0003kG-00@oracle.clara.net --> <!--X-Content-Type: text/plain --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Combat systems</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:neiled@clara.net"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00590.html">Previous</a> | <a href="msg00592.html">Next</a> ] Thread: [ <a href="msg00599.html">Previous</a> | <a href="msg00592.html">Next</a> ] Index: [ <A HREF="author.html#00591">Author</A> | <A HREF="#00591">Date</A> | <A HREF="thread.html#00591">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Combat systems</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: [MUD-Dev] Combat systems</LI> <LI><em>From</em>: "Neil Edwards" <<A HREF="mailto:neiled#clara,net">neiled#clara,net</A>></LI> <LI><em>Date</em>: Sat, 11 Dec 1999 11:18:35 -0000</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> Hi there, I have been reading the group for a while and have not seen any material related to combat as of yet so I am going ask a few questions. I have been creating a java codebase now for the past two months and am about to start the combat side of it. I already have stats for the player etc and it is just the actual system of combat that I need help on. At the moment my to-hit formula uses the profiency of the weapon (which can be an infintite number) the dexterity (max of 20) of the attacker and the health of the attacker (to add some fatigue factor) (1-(1/(sqrt(proficiency+1)))*(dexterity/20)*(health/constitution). This gives a percentage chance of the player actually hitting the victim. As you can see if you graph it with proficiency the variable that at first there is a big gradient and then after about prof level 50 there is a relatively small increase as each level is reached. I wanted this because I think it will give new players a chance. My defensive formula uses the defensive proficieny of the defender, the dexterity of the defender the armour class of the defender, the health of the defender and also the percentage hit chance of the attacker. This allows for lucky blows by an attacker to be knocked away with someone of a much higer defensive skill. (1-(1/(sqrt(proficiency+1)))((dexterity/20)(armour/100) (health/constituition)(.5)) / (tohit%) This gives a percentage chance of the player defending all of the attack. My damage formula is pretty poor (not that the others are any good) and uses the strengths of the attacker and defender and the armour class of the defender (attacker - defender)*((100-armourClass)/100) and gives a hp value to be removed from the defender. I really sent them in so that people will pick them to pieces and allow me to make better ones. I think this is the stage to do it rather then after I implement it in the mud. So please send in any comments, they'll be much appreciated. Neil Edwards "Lifes a joke, and death's the punchline" _______________________________________________ MUD-Dev maillist - MUD-Dev#kanga,nu <A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <ul compact><li><strong>Follow-Ups</strong>: <ul> <li><strong><A NAME="00593" HREF="msg00593.html">RE: [MUD-Dev] Combat systems</A></strong> <ul compact><li><em>From:</em> "Chris Lloyd" <crl199@soton.ac.uk></li></ul> <li><strong><A NAME="00592" HREF="msg00592.html">Re: [MUD-Dev] Combat systems</A></strong> <ul compact><li><em>From:</em> "Kylotan" <kylotan@kylotan.eidosnet.co.uk></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00590.html">[MUD-Dev] The GTS Library</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00592.html">Re: [MUD-Dev] Combat systems</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00599.html">[MUD-Dev] Metakit</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00592.html">Re: [MUD-Dev] Combat systems</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00591"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00591"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><strong><A NAME="00599" HREF="msg00599.html">[MUD-Dev] Metakit</A></strong>, J C Lawrence <a href="mailto:claw@kanga.nu">claw@kanga.nu</a>, Mon 13 Dec 1999, 16:53 GMT <LI><strong><A NAME="00591" HREF="msg00591.html">[MUD-Dev] Combat systems</A></strong>, Neil Edwards <a href="mailto:neiled@clara.net">neiled@clara.net</a>, Sat 11 Dec 1999, 15:08 GMT <UL> <LI><strong><A NAME="00592" HREF="msg00592.html">Re: [MUD-Dev] Combat systems</A></strong>, Kylotan <a href="mailto:kylotan@kylotan.eidosnet.co.uk">kylotan@kylotan.eidosnet.co.uk</a>, Sat 11 Dec 1999, 16:57 GMT <UL> <LI><strong><A NAME="00596" HREF="msg00596.html">Re: [MUD-Dev] Combat systems</A></strong>, Kylotan <a href="mailto:kylotan@kylotan.eidosnet.co.uk">kylotan@kylotan.eidosnet.co.uk</a>, Sat 11 Dec 1999, 20:00 GMT </LI> </UL> </LI> <LI><strong><A NAME="00593" HREF="msg00593.html">RE: [MUD-Dev] Combat systems</A></strong>, Chris Lloyd <a href="mailto:crl199@soton.ac.uk">crl199@soton.ac.uk</a>, Sat 11 Dec 1999, 17:17 GMT </LI> </UL> </LI> <LI><strong><A NAME="00590" HREF="msg00590.html">[MUD-Dev] The GTS Library</A></strong>, J C Lawrence <a href="mailto:claw@kanga.nu">claw@kanga.nu</a>, Sat 11 Dec 1999, 05:54 GMT </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>