BattletechModders / BattletechModders/IRTweaks

Headshot percentage chance still shows as 1% although headshot protection is turned off

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
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.

![unknown 1](https://user-images.githubusercontent.com/11328890/171808967-a6b460ec-adfc-47b9-920c-33d9d4bf83fa.png)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.