Skip to content

Commit

Permalink
tweak damage
Browse files Browse the repository at this point in the history
  • Loading branch information
Vdauphin committed Oct 2, 2016
1 parent d9df6ad commit 5146d05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ _type = [
if (ace_medical_level isEqualTo 1) then {
_unconsciousTime = 120 + round (random 600);
[_unit,true,_unconsciousTime,true] call ace_medical_fnc_setUnconscious;
for "_i" from 0 to 2 do {
[_unit, 0.7 + (random 0.15), selectRandom _selection, selectRandom _type] call ace_medical_fnc_addDamageToUnit;
for "_i" from 0 to 1 do {
[_unit, 0.1 + (random 0.6), selectRandom _selection, selectRandom _type] call ace_medical_fnc_addDamageToUnit;
};
[{
params ["_args","_id"];
Expand All @@ -44,5 +44,5 @@ if (ace_medical_level isEqualTo 1) then {
[_unit, 0.5] call ace_medical_fnc_adjustPainLevel;
[_unit,true,10,true] call ace_medical_fnc_setUnconscious;
[_unit] call ace_medical_fnc_setCardiacArrest;
[_unit, 0.4 + (random 0.45), selectRandom _selection, selectRandom _type] call ace_medical_fnc_addDamageToUnit;
[_unit, 0.05 + (random 0.6), selectRandom _selection, selectRandom _type] call ace_medical_fnc_addDamageToUnit;
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if ( _r < 1) then {
_vehpos = [_pos, 10] call btc_fnc_randomize_pos;
} else {
_houses = [[(_pos select 0),(_pos select 1),0],200] call btc_fnc_getHouses;
_pos = getPos (selectRandom _houses);
_pos = selectRandom ((selectRandom _houses) buildingPos -1);
_vehpos = [(_pos select 0),(_pos select 1),(_pos select 2) + 0.1];
};

Expand Down

0 comments on commit 5146d05

Please sign in to comment.