ACE3/addons/medical_treatment/functions
BAXENdev a0f3933bf0
Medical - Change max medication dosage behavior (#9746)
* Consistentency Update with Overdosing

* Added Description to Condition Cases

* Updated to CASE 2

Overdose behavior:
ODs on uses `_maxDose + {1 or 2 or 3}` from `_maxDose + {0 or 1 or 2}`

* Update fnc_onMedicationUsage.sqf

* Update fnc_onMedicationUsage.sqf

* Added riskDose range and updated medications

* maxDose -> maxSafeDose | riskDose -> chanceDoses

* Fixed maxDose reference in trace

* Added chanceDoses to trace

* Fixed use of TRACE macro

* Updated comments and variable maxSafeDose -> maxDose

* Updated comment and overdose formula

* chanceDoses -> maxDoseDeviation

* Update addons/medical_treatment/functions/fnc_onMedicationUsage.sqf

* Update addons/medical_treatment/functions/fnc_onMedicationUsage.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/medical_treatment/ACE_Medical_Treatment.hpp

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-02-13 02:45:04 -08:00
..
fnc_addLoadPatientActions.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_addToLog.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_addToTriageCard.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_bandage.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_bandageLocal.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_bodyCleanupLoop.sqf Medical Treatment - Fix grave digging (#9455) 2023-10-02 11:05:56 -04:00
fnc_canBandage.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canCPR.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canDigGrave.sqf Medical Treatment - Change isAwake check for grave digging to only apply to CAManBase (#9451) 2023-10-01 13:42:07 -04:00
fnc_canPlaceInBodyBag.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canSplint.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canStitch.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canTreat_holsterCheck.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canTreat.sqf Zeus - Add medical menu module (#9367) 2023-11-20 13:52:29 -08:00
fnc_canTreatCached.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canUnloadUnit.sqf Interaction - Allow unloading patients, bodies, and captives from inside vehicles (#9645) 2023-11-22 19:38:52 -03:00
fnc_checkBloodPressure.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_checkBloodPressureLocal.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_checkPulse.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_checkPulseLocal.sqf General - SQF Improvements (#9698) 2024-02-04 14:50:24 -03:00
fnc_checkResponse.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_cprFailure.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_cprLocal.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_cprProgress.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_cprStart.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_cprSuccess.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_createLitter.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_createLitterServer.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_diagnose.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_findMostEffectiveWounds.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_fullHeal.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_fullHealLocal.sqf Medical Vitals - Add SPO2 (#9360) 2024-02-07 17:50:18 -03:00
fnc_getBandageTime.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_getHealTime.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_getStitchTime.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_getTriageStatus.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_handleBandageOpening.sqf General - Cleanup spaces in macros (#9769) 2024-02-05 14:04:24 -03:00
fnc_hasItem.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_hasTourniquetAppliedTo.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_isInMedicalFacility.sqf General - Cleanup spaces in macros (#9769) 2024-02-05 14:04:24 -03:00
fnc_isInMedicalVehicle.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_isMedic.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_isMedicalVehicle.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_ivBag.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_ivBagLocal.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_litterCleanupLoop.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_loadUnit.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_medication.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_medicationLocal.sqf Medical - Change max medication dosage behavior (#9746) 2024-02-13 02:45:04 -08:00
fnc_onMedicationUsage.sqf Medical - Change max medication dosage behavior (#9746) 2024-02-13 02:45:04 -08:00
fnc_placeBodyBagInGrave.sqf Medical Treatment - Fix grave digging (#9455) 2023-10-02 11:05:56 -04:00
fnc_placeInBodyBag.sqf Medical Treatment - Use Laws of War bodybag model and add colored bodybags (#9371) 2023-10-24 15:16:52 -04:00
fnc_placeInBodyBagOrGrave.sqf Medical Treatment - Use Laws of War bodybag model and add colored bodybags (#9371) 2023-10-24 15:16:52 -04:00
fnc_placeInGrave.sqf Medical Treatment - Fix grave digging (#9455) 2023-10-02 11:05:56 -04:00
fnc_removeBody.sqf Medical Treatment - Fix grave digging (#9455) 2023-10-02 11:05:56 -04:00
fnc_scanMedicalItems.sqf General - uiNamespace cleanup (#9425) 2023-10-04 14:09:05 -04:00
fnc_setTriageStatus.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_splint.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_splintLocal.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_surgicalKitProgress.sqf Medical Treatment - Fix clearing trauma after stitch with multiple wounds (#9420) 2023-09-23 12:59:10 -04:00
fnc_surgicalKitStart.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_tourniquet.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_tourniquetLocal.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_tourniquetRemove.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_treatment.sqf Zeus - Add medical menu module (#9367) 2023-11-20 13:52:29 -08:00
fnc_treatmentFailure.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_treatmentSuccess.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_unloadUnit.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_useItem.sqf Zeus - Add medical menu module (#9367) 2023-11-20 13:52:29 -08:00