Commit e2de1377 authored by Matt Glorion's avatar Matt Glorion
Browse files

[FIX] le produit en croix 脿 l'envers, d茅so 馃し

parent cbb6b1e0
......@@ -150,7 +150,7 @@ async function computeEquivalentDamages (scenarios) {
for (const scenario of scenarios) {
ret[sphere][equivalent] = !ret[sphere].hasOwnProperty(equivalent) ? {} : ret[sphere][equivalent];
ret[sphere][equivalent][scenario.id] = roundTo(
equivalentDamages[equivalent][sphere] / scenario.damage.totalDamage[sphere],
scenario.damage.totalDamage[sphere] / equivalentDamages[equivalent][sphere],
1
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment