Author: HobbitDur

When trying to run (R2 + L2), around every second (to be confirmed the exact time), there is a random computation if the escape happen.
The chance to escape is \(\frac{X}{255}\), with \(X\) depending on the following factors:

if StructFirst or BackAttacked, \(X = 16\)
if ChanceForFirstStrike or BackAttack, \(X = 255\)
if all monster are disabled (Death or Petrify or Berserk or Sleep or Confusion), \(X = 255\)
if one monster has flag DecreaseChanceEscape, \(X = 16\)
If at least one monster is alive AND has the flag IncreaseChanceEscape, \(X = 128\)

In other cases: \(X = 64\)