fix blood rise issue with bitePlayer

This commit is contained in:
vbawol 2017-10-04 07:57:28 -05:00
parent 5375693469
commit 3b60f68acf
2 changed files with 9 additions and 9 deletions

View File

@ -129,7 +129,7 @@ if (_doAttack) then {
if (random 1 < _bloodpChance) then {
_playerBloodPKeyFinal = "EPOCH_playerBloodP";
if !(isNil "_playerBloodPKey") then {_playerBloodPKeyFinal = _playerBloodPKey};
[_playerBloodPKeyFinal,_bloodpAmount,100,0] call EPOCH_fnc_setVariableLimited;
[_playerBloodPKeyFinal,_bloodpAmount,190,0] call EPOCH_fnc_setVariableLimited;
if !(_ppEffect isEqualTo []) then {
[_ppEffect] spawn EPOCH_fnc_spawnEffects;
};

View File

@ -26,7 +26,7 @@ interactAttributes[] = {
{"Toxicity",0},
{"Stamina",0},
{"Wet",0},
{"BloodP",0}, // only increase is allowed
{"BloodP",0},
{"NotUsed",0},
{"Alcohol",0},
{"Radiation",0}