Updated SHSim.act patch to fix the no torpedo duds available at bottom of post #1 (Updated sim patch to fix the no torpedo dud problem)
I changed the game code to be the torpedo is a dud if it fails the random value test. I have no clue what that other BS of multiplying by all those other constants was for.
You'll like what I did with the torpedo when it is a dud (for those that are impact type)
EDIT: spotted a possible bug. The magnetic detonators will still detonate. Looking into it...
EDIT2: there's no code for even checking for duds on magnetic torpedoes (that I can find). Maybe because magnetic detonators are reliable? Maybe it was only impact type detonators that could be duds (due to angle they collided with unit)?

Maybe I need to add some code that can make the magnetic detonates have a random chance of being a dud?