Add config for mutant heart protection

This commit is contained in:
worldwidesorrow
2021-08-18 14:19:44 -05:00
parent 8422133a7d
commit cc1babf570
4 changed files with 6 additions and 3 deletions

View File

@@ -16,7 +16,8 @@ local _target = objNull;
local _scandist = 200;
{
if !(_x hasWeapon "ItemMutantHeart") then {
local _skip = (DZE_MutantHeartProtect && {_x hasWeapon "ItemMutantHeart"});
if (!_skip) then {
local _dist = _x distance _mutant;
if (_dist < _scandist) then {
_target = _x;