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

Medical - Fix epinephrine wake-up chance boost string #7407

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

jonpas
Copy link
Member

@jonpas jonpas commented Jan 5, 2020

When merged this pull request will:

Not sure if it's a direct multiplier due to connection with epinephrine effectiveness, so I used "boost" as is in the setting name.

Could also be improved with showing it as a percentage in the UI.

@jonpas jonpas added the kind/bug-fix Release Notes: **FIXED:** label Jan 5, 2020
@jonpas jonpas added this to the 3.13.1 milestone Jan 5, 2020
@jonpas jonpas requested review from commy2 and PabstMirror January 5, 2020 20:33
<Czech>Epinefrin zvyšuje šanci na probuzení</Czech>
<Portuguese>Epinefrina Aumenta a chance de acordar</Portuguese>
<Spanish>Epinefrina, aumenta la posibilidad de despertar</Spanish>
<English>Epinephrine Wake Up Chance Boost</English>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boosts wake up chance?

Copy link
Member Author

@jonpas jonpas Jan 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a string for a setting name, it's not an explanation of what it does. And it's a boost/multiplier, not a toggle.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref https://github.com/acemod/ACE3/blob/master/addons/medical_statemachine/functions/fnc_handleStateUnconscious.sqf#L37-L42

It doesn't directly change the wake up chance,
but instead decreases the time between doing wakeup random
I did it this way because epi is somewhat short lived, so I felt like this would be the most responsive

Not positive on the math, but the effect should be similar

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, math looks good, but the setting name was confusing.

@PabstMirror PabstMirror merged commit 3daf784 into master Jan 9, 2020
@PabstMirror PabstMirror deleted the fix-epiwakeup-string branch January 9, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants