Added level scaling for prosthetics

This commit is contained in:
ZioPao
2024-05-05 13:27:20 +02:00
parent e270b4f73b
commit d35840d825

View File

@@ -79,6 +79,13 @@ function ISBaseTimedAction:perform()
TOC_DEBUG.print("Trying for bleed, player met the criteria") TOC_DEBUG.print("Trying for bleed, player met the criteria")
LocalPlayerController.TryRandomBleed(self.character, limbName) LocalPlayerController.TryRandomBleed(self.character, limbName)
end end
-- Level up prosthesis perk
if dcInst:getIsProstEquipped(limbName) then
LocalPlayerController.playerObj:getXp():AddXP(Perks["ProstFamiliarity"], 1) -- TODO Make it dynamic
end
end end
end end
end end