3 votes

Calculating average ttk given accuracy and healing

If an approximation is sufficient then on average the target will take p*d damage per second and heal for h, so their net life loss will be p*d-h per second. Assuming p*d-h > 0, the time to kill is ...
Brady Gilg's user avatar
3 votes

How to properly split damage against armor?

If I've understood correctly, I'd do this as a two step process... Calculate how much the armor absorbs, then apply the rest to the player. Something like: ...
Basic's user avatar
  • 1,141
2 votes

A good genetic system?

My approach would be to take three numbers per stat, mother, father and a random roll between 0 and 12, and then take the average. That will mean that the score will usually be somewhere between ...
Philipp's user avatar
  • 118k
1 vote

Calculating average ttk given accuracy and healing

Partial answer: no healing In your case the healing is the culprit, which makes the whole thing extremly hard to calculate. I hope my equation for the special case of h = 0 (no healing) helps you ...
datacube's user avatar
  • 201
1 vote

Intuitively, why is 3.5 the average (mean) roll of a six-sided die?

I think the most intuitive answer is to simply sum up the dots on each side and divide by the number of sides: sum(1,2,3,4,5,6)/6 = 3.5 That's the basic meaning of ...
Stefan's user avatar
  • 111
1 vote
Accepted

How to tell whether an expression is independent from frame rate?

One way we can formalize this is to say we have a function \$f\$ that takes some input game state \$ {\bf x}_0 \$ and a timestep \$ \Delta t\$ and transforms it into the resulting game state \$ {\bf x}...
DMGregory's user avatar
  • 132k
1 vote

How to tell whether an expression is independent from frame rate?

I am wondering if there is a general approach to determining whether the expression that updates the value is "pinned" to real time, meaning that running one frame with delta time x is ...
1 vote

How to tell whether an expression is independent from frame rate?

You are asking the difference between a mathematical derivative and a discrete derivative: Given an expression S(delta_time) which calculates how much to increase a value by each frame, an increase ...
agone's user avatar
  • 323
1 vote

A good genetic system?

You could consider taking some inspiration from biology, emulating genes by making the visible stat just the "phenotype" expressed by an underlying "genotype" in the data used ...
DMGregory's user avatar
  • 132k

Only top scored, non community-wiki answers of a minimum length are eligible