BattletechModders / BattletechModders/IRTweaks
Headshot percentage chance still shows as 1% although headshot protection is turned off
- Dominant language
- C#
- Stars
- 8
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thanks for implementing the contract scaling for building health!
Just found what seems to be a cosmetic bug: when going for a headshot with a maxed pilot and a mech with the Mara mod, the screen displays the hit chance as 1%. This is after I disabled headshot protection in the mod.json file. I was still able to make the shots like normal, so it appears to be only related to the display.

Relevant part of mod.json:
```
"CalledShot": {
"DisableAllLocations": false,
"DisableHeadshots": false,
"EnableTacticsModifier": false,
"BaseModifier": -1,
"PilotTags": {
}
}
````
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the CalledShot settings in mod.json and reproduce a headshot using a maxed pilot and a mech with the Mara mod, with headshot protection disabled. Compare the displayed 1% chance with the shot's actual result; done means the displayed chance reflects the enabled protection setting while normal shots remain unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100