-
Notifications
You must be signed in to change notification settings - Fork 739
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
Medical - Add Global Wound Reopen Chance Modifer #7747
Conversation
The display name should probably have "Modifier" added at the end to make its function more clear. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a name like "Wound Reopening Coefficient" might be better. Description could be: "Coefficient for controlling the wound reopening chance. The final reopening chance is determined by multiplying this value with the specific reopening chance for the wound type and bandage used."
addons/medical_treatment/functions/fnc_handleBandageOpening.sqf
Outdated
Show resolved
Hide resolved
addons/medical_treatment/functions/fnc_handleBandageOpening.sqf
Outdated
Show resolved
Hide resolved
- Removed unnecessary whitespace on LN 46 - Call global var directly at LN 87 - Updated Wound Reopen Chance localized name & description
Agreed & changed. Thanks! |
- Increased reopen coefficient upper limit from 2 to 5.
@mharis001 How do I add my name to the PBO author array? Thank you! |
As it says on the tin, this PR adds a Global Wound Reopen Chance Modifier to the Medical Treatment Addon Settings. This modifier is utilized in
fnc_handleBandageOpening.sqf
, where it modifies the re-open chance. This is applied per bandage/wound, allowing the various bandage's distinctive values to be modified equally.This has been tested and is working.
I'll pop in to Slack, but please let me know what else needs to be done, etc. Thank you!