summaryrefslogtreecommitdiff
path: root/jc_ammo-loudness-ap-times-2.patch
blob: 3def080519fb0eea59302b42850c6f2d949190fd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/item_factory.cpp
+++ b/src/item_factory.cpp
@@ -221,7 +221,7 @@
         if( obj.ammo->loudness < 0 ) {
             obj.ammo->loudness = obj.ammo->range * 2;
             for( const damage_unit &du : obj.ammo->damage ) {
-                obj.ammo->loudness += ( du.amount + du.res_pen ) * 2;
+                obj.ammo->loudness += ( du.amount * 2 ) + ( du.res_pen * 2 / 3 );
             }
         }