.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Maths problem: fatigue vs critical hits (http://forum.shrapnelgames.com/showthread.php?t=38714)

lch May 25th, 2008 11:53 PM

Re: Maths problem: fatigue vs critical hits
 
Quote:

Pehmyt said:
http://www.helsinki.fi/~mtvepsal/p2sum.png
In all expressions X=5n+r, with 1<=r<=5 (note limits!).

With a little redesign, this translates into python code as follows: <font class="small">Code:</font><hr /><pre># p(2d6oe) &gt;= 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))</pre><hr />
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.

lch May 26th, 2008 12:01 AM

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: <font class="small">Code:</font><hr /><pre>&gt; 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
&gt; factor(subs(r=r-1, p));
2 2
390 n - 85 n r + 5 n r + 66 + 5 r - r
---------------------------------------
(n + 2)
2 6</pre><hr />

Micah May 26th, 2008 01:00 AM

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.

Endoperez May 26th, 2008 05:00 AM

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.


All times are GMT -4. The time now is 02:45 PM.

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