**Next message:**KILLER APS: "[MISC]"**Previous message:**Mike Breuer: "Re: [Off-topic] Purest of purest RPmud..."**Next in thread:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Peter Ajamian: "Re: Help with formula for consider command"**Maybe reply:**Del: "Re: Help with formula for consider command"**Maybe reply:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Peter Ajamian: "Re: Help with formula for consider command"**Maybe reply:**Del: "Re: Help with formula for consider command"**Maybe reply:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Peter Ajamian: "Re: Help with formula for consider command"**Messages sorted by:**[ date ] [ thread ] [ subject ] [ author ]

I have been playing around with the consider command and come across a small problem that I can not seem to get the right formula/equation to calculate the average chance to hit. Stock code uses this (below) to calculate a miss: if ((((diceroll < 20) && AWAKE(victim)) && ((diceroll == 1) || ((calc_thaco - diceroll) > victim_ac)))) { Has anyone turned the thaco - diceroll > victim_ac into a formula? Or is there anyone out there with better math logic that can turn this into something like percent_chance = thaco .. ave_dice_roll .. victim_ac?? Taking into account, thaco range, hitroll range, ac range, etc?? -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+

**Next message:**KILLER APS: "[MISC]"**Previous message:**Mike Breuer: "Re: [Off-topic] Purest of purest RPmud..."**Next in thread:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Peter Ajamian: "Re: Help with formula for consider command"**Maybe reply:**Del: "Re: Help with formula for consider command"**Maybe reply:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Peter Ajamian: "Re: Help with formula for consider command"**Maybe reply:**Del: "Re: Help with formula for consider command"**Maybe reply:**Karl Buchner: "Re: Help with formula for consider command"**Maybe reply:**Peter Ajamian: "Re: Help with formula for consider command"**Messages sorted by:**[ date ] [ thread ] [ subject ] [ author ]

*
This archive was generated by hypermail 2b30
: 12/05/01 PST
*