Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for BaseIcon and BaseIconStats #439

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

AllyJaxx
Copy link

@AllyJaxx AllyJaxx commented Dec 16, 2023

As of 28.00 Epic has begun making shotguns with a headshot cap set that don't actually reach that damage, causing FModel to incorrectly read the headshot damage as higher than it is. This code (whilst probably not the best) fixes that.

Additional note, the mdpc > 0f may seem redundant, but it's there to make sure that old versions of the game prior to headshot cap being added still read headshot damage correctly.

Added a check for if the season number is 10 and 27, this fixes Season X being read as "Season 10" and Chapter 4: Season OG being read as "Chapter 4: Season 5".

@AllyJaxx AllyJaxx changed the title Account for cases where MaxDamagePerCartridge is higher than the actual headshot damage Fixes for BaseIcon and BaseIconStats Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant