This commit is contained in:
icomrade
2014-05-27 13:51:35 -04:00
parent 2506636938
commit 88ded0f3c0
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ private ["_started","_finished","_animState","_isMedic","_num_removed","_unit","
if (!DZE_SelfTransfuse) exitWith {};
_unit = player;
_lastused = selfTransfusionTime;
_timeout = (DZE_selfTransfuse_Values select 3);
_timeout = (DZE_selfTransfuse_Values select 2);
if ((round(time - _lastused)) <= _timeout) exitWith {cutText [format[(localize "str_actions_medical_18"),(_timeout - (round(time - _lastused)))] , "PLAIN DOWN"]};
call fnc_usec_medic_removeActions;

View File

@@ -79,7 +79,7 @@ if (_spawnRoll <= _spawnChance) then {
} else {
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
};
_CBLBase = dayz_CBLBase find _lootTable;
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
_weights = dayz_CBLChances select _CBLBase;
_cntWeights = count _weights;

View File

@@ -45,7 +45,7 @@ if (_spawnRoll <= _spawnChance) then {
} else {
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
};
_CBLBase = dayz_CBLBase find _lootTable;
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
_weights = dayz_CBLChances select _CBLBase;
_cntWeights = count _weights;