The only hole I see in this concept is that it would really only work for melee based classes like warriors etc. Although, the normal consider command has the same hole. But hey, if you are gonna rewrite it it's always good to make it as good as possible. :-) Since the majority of mage combat is spell based perhaps you should work in some skill/spell choices to add to the damage delt? Could prolly do it with some checks on the skill table vs the character's class and level to come up with their highest level MAG_DAMAGE spell. Skills would be a bit tougher though. Just a thought, Jason Beeland At Tue, 18 Jul 2000 23:19:34 -0600, you wrote: > >Hello Everyone, > >Today I wrote an improved do_consider command that performs a quick >combat simulation based on the hp, thaco, ac, and average damage >of each charater to calculate how long it would take for each character to >kill >the other, expressed as a number of combat rounds. The two times are then >compared to determine the probable victor of combat. > >I was going to upload the snippet, but it exceeds the maximum message >length for the list, so I have uploaded it to the ftp site at circlemud.org >The file name is improved_do_consider.txt and I uploaded it into the >incoming directory. > >It funny that after doing all this I found a message on the archive site >from Jan 1999 where George Greer posted a version of do_consider >that does essentially the same thing (there are of course some differences). > >Here is a link to George's Version: >http://post.queensu.ca/cgi-bin/listserv/wa?A2=ind9901&L=circle&P=R3654 > >One sleight advatage I see to my version is that since all of the combat >simulation calculations are performed in a separate function called >sim_combat, it can be called from other places in the code. You could >easily make a command to compare any two chars strengths since it >just takes two char pointers as arguments. I guess that could be useful >for placing bets on player vs player combat on a pk mud. > >Anyway if you want to replace the do_consider on your mud with something >that does more than compare levels check out either version of the code. > >Russ Brown > > >_____NetZero Free Internet Access and Email______ > http://www.netzero.net/download/index.html > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | > +------------------------------------------------------------+ > > > ---------------------------------------------------------------------------- Access your e-mail anywhere, at any time. Get your FREE BellSouth Web Mail account today! http://webmail.bellsouth.net ---------------------------------------------------------------------------- +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT