mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical AI - Block healing when handcuffed (#7493)
This commit is contained in:
parent
270a5a930f
commit
2feeec0d7f
@ -4,7 +4,7 @@
|
||||
* Checks if a unit is currently considered safe enough to treat itself.
|
||||
*
|
||||
* Arguments:
|
||||
* None
|
||||
* Unit <OBJECT>
|
||||
*
|
||||
* Return Value:
|
||||
* Is unit safe enough <BOOL>
|
||||
@ -15,4 +15,6 @@
|
||||
* Public: No
|
||||
*/
|
||||
|
||||
(getSuppression _this == 0) && {CBA_missionTime - (_this getVariable [QGVAR(lastFired), -30]) > 30}
|
||||
(getSuppression _this == 0)
|
||||
&& {CBA_missionTime - (_this getVariable [QGVAR(lastFired), -30]) > 30}
|
||||
&& {!(_this getVariable [QEGVAR(captives,isHandcuffed), false])}
|
||||
|
Loading…
Reference in New Issue
Block a user