Skip to content

Commit

Permalink
Small changes, also it works now
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Nov 2, 2024
1 parent 121fcad commit 5b68f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/medical_damage/functions/fnc_woundsHandlerBase.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private _bodyPartVisParams = [_unit, false, false, false, false]; // params arra

// Check if current body part damage has reached the cap
private _currentDamage = _bodyPartDamage select _bodyPartNToAdd;
private _damageLimit = (missionNamespace getVariable [QEGVAR(medical,partDamageCap), 10]) * 4;
private _damageLimit = (missionNamespace getVariable [QEGVAR(medical,partDamageCap), 60]);
if (_currentDamage >= _damageLimit) then {
TRACE_1("damage cap reached for body part",_bodyPart);
continue // Skip further processing for this body part if cap is reached
Expand Down
2 changes: 1 addition & 1 deletion addons/medical_damage/initSettings.inc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"SLIDER",
[LSTRING(partDamageCap_DisplayName), LSTRING(partDamageCap_Description)],
ELSTRING(medical,Category),
[10, 60, 30, 0],
[30, 150, 60, 0],
true
] call CBA_fnc_addSetting;

Expand Down

0 comments on commit 5b68f80

Please sign in to comment.