I am trying to make armor resistance system and i have tried to do it with durability:setWeakness sqript from SpawnUtility sqript as i cannot for the life of me find where durability calculations are done.
This does not really work and durability:setWeakness is somehow laggy as hell with large AOE weapons with stock sqripts as well.
Where can i get my hands on the durability and and weakness calculations?