Readded tourniquet

This commit is contained in:
ZioPao
2024-01-09 14:42:56 +01:00
parent aeb1bca94d
commit a41f976949
13 changed files with 100 additions and 15 deletions

View File

@@ -117,7 +117,6 @@ function LocalPlayerController.TryRandomBleed(character, limbName)
-- Chance should be determined by the cicatrization time
local cicTime = DataController.GetInstance():getCicatrizationTime(limbName)
if cicTime == 0 then return end
-- TODO Sometimes we get cicTime = 0... Shouldn't really do it
-- TODO This is just a placeholder, we need to figure out a better way to calculate this chance
local normCicTime = CommonMethods.Normalize(cicTime, 0, StaticData.LIMBS_CICATRIZATION_TIME_IND_NUM[limbName])/2