HaodongMo / ARC-9

The nineth weapon base for Gmod by Arctic
90 stars 51 forks source link

Fixes a penetration bug (or possibly feature) that causes double damage. #217

Closed BurgerLUA closed 9 months ago

BurgerLUA commented 9 months ago

Fixes #212

I am not sure if this is a bug or a feature, but during normal combat gameplay, it is possible for you to deal roughly double damage to a target if the model isn't uniform, like a player.

For example, shooting a player in the arm can deal damage and penetrate the arm, while also dealing damage to the torso.

The implementation is kind of weird but it just werks.

BurgerLUA commented 9 months ago

Code preview looks weird because someone was using spaces instead of tabs.