mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Support for unlimited dosages
This commit is contained in:
parent
7f2d41b1a8
commit
c5a27d3cd7
@ -49,7 +49,7 @@ if (!_foundEntry) then {
|
||||
|
||||
|
||||
_usedMeds = _target getvariable [_variable, 0];
|
||||
if (_usedMeds >= floor (_maxDosage + round(random(2)))) then {
|
||||
if (_usedMeds >= floor (_maxDosage + round(random(2))) && _maxDosage >= 1) then {
|
||||
[_target] call FUNC(setDead);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user