Chore: fixed config for umbrella

This commit is contained in:
ZioPao
2025-04-12 15:16:02 +02:00
parent 67f51ca845
commit f728520f9e
3 changed files with 18 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ function ISBaseTimedAction:perform()
-- First check level of perks. if already at max, skip
LocalPlayerController.playerObj:getPerkLevel(perkAmp)
-- LocalPlayerController.playerObj:getPerkLevel(perkAmp) -- todo
local amputatedLimbs = CachedDataHandler.GetAmputatedLimbs(LocalPlayerController.username)
local xp = self.maxTime / 100
@@ -173,7 +173,7 @@ end
--* Equipping items overrides *--
local og_ISEquipWeaponAction_isValid = ISEquipWeaponAction.isValid
---Add a condition to check the feasibility of having 2 handed weapons or if both arms are cut off
---@return boolean
---@return boolean?
---@diagnostic disable-next-line: duplicate-set-field
function ISEquipWeaponAction:isValid()
local isValid = og_ISEquipWeaponAction_isValid(self)

View File

@@ -33,7 +33,7 @@ function CleanWoundAction:new(doctor, otherPlayer, bandage, bodyPart)
if doctor:isTimedActionInstant() then
o.maxTime = 1
end
if doctor:getAccessLevel() ~= "None" then
if doctor:getAccessLevel() ~= "None" then -- TODO Fix for B42
o.doctorLevel = 10
end
return o