summaryrefslogtreecommitdiff
path: root/jc_ammo-loudness-ap-times-2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'jc_ammo-loudness-ap-times-2.patch')
-rw-r--r--jc_ammo-loudness-ap-times-2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/jc_ammo-loudness-ap-times-2.patch b/jc_ammo-loudness-ap-times-2.patch
new file mode 100644
index 0000000..3def080
--- /dev/null
+++ b/jc_ammo-loudness-ap-times-2.patch
@@ -0,0 +1,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 );
+ }
+ }
+