Pergor / ADV_Medical

ADV- ACE Medical mods
16 stars 17 forks source link

Not Really a Issue but a question #29

Open V1irus opened 4 years ago

V1irus commented 4 years ago

https://github.com/Pergor/ADV_Medical/blob/36c642f831b453b9f875b85cd40ca9dcc1b82d4e/adv_aceCPR/functions/fn_probability.sqf#L44-L51

Hey, I try to understand Epi effects CPR at all. If i got 12% chance of success how much gain I got out of 1 and 2 epi´s?

Pergor commented 4 years ago

When you administer epinephrine, the variable ace_medical_epinephrine_insystem will be set for the patient. It slowly goes back to zero. While the value of ace_medical_epinephrine_insystem is > 0, you will have a ace_medical_epinephrine_insystem times 20 in percent addition to your base chance.

I currently have no values for the starting value of ace_medical_epinephrine_insystem when epinephrine has been freshly administered, but I remember that the factor 20 had been tested by me to be a good value for that effect.

You can test that by yourself by putting this in the cba variable checking lines: [player] getVariable ["ace_medical_epinephrine_insystem",0]; and watch how it goes up when administering epinephrine.

V1irus commented 4 years ago

Okay thanks for your answer. So no fixed value there... 20 x sounds like -12% chance by medics plus 20%. that's a nice effect than. Where are those cba variable checking lines?

Pergor commented 4 years ago

When you're admin (or host a SP or MP game), you can hit Esc and just below the console are a couple of lines in which you can check variables continuously.