mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
314 B
Plaintext
12 lines
314 B
Plaintext
|
// by comm2
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
private "_unit";
|
||
|
|
||
|
_unit = _this select 0;
|
||
|
|
||
|
if ([_unit, GVAR(engineerSetting_Repair) + 1] call FUNC(isEngineer)) exitWith {GVAR(repairDamageThreshold_Engineer)};
|
||
|
if ([_unit, GVAR(engineerSetting_Repair)] call FUNC(isEngineer)) exitWith {GVAR(repairDamageThreshold)};
|
||
|
|
||
|
1
|