How to spawn low durability guns?

All guns spawn from better loot in loot crate is full durability guns, how to edit it to spawn loot low durability guns?

you would need to edit the plugin itself, look at MagicLoot it has the RandomizeDurability method

maxWalker

you would need to edit the plugin itself, look at MagicLoot it has the RandomizeDurability method

Can you help me to edit it, or teach me where I can edit it