Closed ooxi closed 8 years ago
Old formula
chance_old(agility, str) = (agility - 1) / 4 + (str - 1) / 4
New formula
chance_new(agility, str) = (agility + str - 2 ) / (agility + str + 2)
This patch does not change the fact, that a chance cannot be negative.
Visualization of change with fixed strength
change_old is blue, change_new is red. x-axis is agility (strength fixed at one), y-axis is ChanceToEvade.
change_old
change_new
Visualization of change with fixed agility
change_old is blue, change_new is red. x-axis is strength (agility fixed at one), y-axis is ChanceToEvade.
A LifeForm's initial agility is one and increases slowly. The default strength of a LifeForm is one and increases slowly.
LifeForm
@bla-rs could you describe the gameplay change achieved by this commit?
This commit caps the Chance to Evade to 100% (which it never reaches) and slows the progression. I dont see any mistakes here.
Thanks!
Old formula
New formula
This patch does not change the fact, that a chance cannot be negative.
Visualization of change with fixed strength
change_old
is blue,change_new
is red. x-axis is agility (strength fixed at one), y-axis is ChanceToEvade.Visualization of change with fixed agility
change_old
is blue,change_new
is red. x-axis is strength (agility fixed at one), y-axis is ChanceToEvade.A
LifeForm
's initial agility is one and increases slowly. The default strength of aLifeForm
is one and increases slowly.