akarnokd / akarnokd/rng-76

Nested foreach entries calculate probabilities incorrectly

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
23
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Example: https://akarnokd.github.io/rng-76/chances.html?patch=P20&nocoalesce&formids=002C5DEB-003D7F95-0033AB36

```
☢ WEAP:0008E736  "Simple" | 4.167% | 15.596%
```

The parent says `LLV_Vendor_Weapon_Melee_Faction_Responders` x 4, the child `LL_Weapon_Melee_BaseballBat` calculates 15.654% because of the power rule, but the child still uses the flat 4.167%.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.