On Fri, 21 Nov 1997, Michael Simons wrote: >Wouldn't it be easier to make thaco a part of the char_data structure? Thac0 is easily recalculated and not worth the cost of memory an disk space. >converted my thaco chart over to a function (And I see that George has >suggested it for bpl13) If anyone would like to see how I did it, Actually, it already is in for bpl13 if Jermey accepts it. It was very tedious but saving throws were worse. :) >The reason that I am asking is because hit() recalculates the players >thaco every round of combat, and the only real change that could happen >from round to round of combat would be the change in the players hitroll. A couple milliseconds to find the thac0 vs 2 (or 4 for me) bytes in every single player structure, including mobs. I like the chart. -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | 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/08/00 PST