.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #21  
Old May 25th, 2008, 11:53 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Maths problem: fatigue vs critical hits

Quote:
Pehmyt said:

In all expressions X=5n+r, with 1<=r<=5 (note limits!).
With a little redesign, this translates into python code as follows: Code:
# p(2d6oe) >= x (Pehmyt's version)
def doubledrn_3(x):
n = (x-1) / 5
r = (x-1) % 5
r += 1
return float((62-15*r+r*r)*5*n+70+3*r-r*r)/(2*6**(n+2))


which produces the right output. Very nice! I think that if you lose the tricky quotient/remainder representation of yours and just work on x-1 like I did in my third attempt, your formula might look a little simpler than the current one.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #22  
Old May 26th, 2008, 12:01 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Maths problem: fatigue vs critical hits

Okay, the result isn't as great as I hoped, this is what Maple makes out of it: Code:
> p := ((62-15*r+r*r)*5*n+70+3*r-r*r)/(2*6^(n+2));
2 2
5 (62 - 15 r + r ) n + 70 + 3 r - r
p := ------------------------------------
(n + 2)
2 6
> factor(subs(r=r-1, p));
2 2
390 n - 85 n r + 5 n r + 66 + 5 r - r
---------------------------------------
(n + 2)
2 6

__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #23  
Old May 26th, 2008, 01:00 AM

Micah Micah is offline
Major
 
Join Date: Dec 2006
Posts: 1,226
Thanks: 12
Thanked 86 Times in 48 Posts
Micah is on a distinguished road
Default Re: Maths problem: fatigue vs critical hits

I'm still amused over the painstaking research to figure out how something works when it doesn't actually follow the behavior described.

I just tested this with a troll king with a robe of invulnerability vs 12 and 13 damage chaff (25 body prot, somewhat more on the head since the chassis has a helmet). Under 15 fatigue he gets damaged twice over 8 rounds of combat in melee. As soon as he crests 15 fatigue he starts taking about 2 damaging hits EVERY ROUND. The chances for a crit at 15-30 fatigue should be 1 in 36, since it requires a one on both dice (open ended rolling doesn't kick in til way later). He's only taking 21 swings per round. In addition, even if a crit lands it only has about a 50% chance of doing damage (half his prot value still is equal to the damage of the attacks).

The crit system as described in the rulebook does not mesh with reality. I've observed this phenomenon time and again while playing with SCs, but now I actually sat down and counted swings.
Reply With Quote
  #24  
Old May 26th, 2008, 05:00 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Maths problem: fatigue vs critical hits

It's just random variation. Str 10 + spear 3 units can deal damage against a non-fatigue Colossal Fetisch with 32 body protection twice in the same turn, and then be unable to harm him for several turns while he has 30 fatigue (from Flaming Helmet). The amount of hits he takes varies a lot, but jumps in damage occur much more after the fatigue goes over 14, and then over 30 points. It's mostly 1 or 2 points of damage before critical hits, then they start dealing 4-7 points.

Because spearman can score hits even before the fetish is fatigued (no helmet, so it stays at 0 fatigue all the time), actual data and statistics would be necessary to figure out if there's something wrong with the formula. The thing that surprised me in my tests was that high protection protected you from most hits, but the hits that got through could deal 5 or 7 or 13 points of damage. I guess that's why size 2 units make so poor thugs - whatever you do with them, a single stroke of bad luck will finish them off.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:10 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.