mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Missing Parenthesissies
This commit is contained in:
parent
572b46a473
commit
4d877196e4
@ -54,7 +54,7 @@ if (diag_frameno > (_unit getVariable [QGVAR(basic_frameNo), -3]) + 2) then {
|
|||||||
[{
|
[{
|
||||||
private ["_unit", "_damagesum"];
|
private ["_unit", "_damagesum"];
|
||||||
_unit = (_this select 0) select 0;
|
_unit = (_this select 0) select 0;
|
||||||
if (diag_tickTime - _unit getvariable [QGVAR(structDamagePFH),-2] >= 2) then {
|
if (diag_tickTime - (_unit getvariable [QGVAR(structDamagePFH),-2]) >= 2) then {
|
||||||
_unit setVariable [QGVAR(structDamagePFH), nil];
|
_unit setVariable [QGVAR(structDamagePFH), nil];
|
||||||
_damagesum = (_unit getHitPointDamage "HitHead") +
|
_damagesum = (_unit getHitPointDamage "HitHead") +
|
||||||
(_unit getHitPointDamage "HitBody") +
|
(_unit getHitPointDamage "HitBody") +
|
||||||
|
Loading…
Reference in New Issue
Block a user