summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/attack.h
diff options
context:
space:
mode:
authorRobert Burnham <burnhamrobertp@gmail.com>2011-11-03 11:26:13 -0500
committerRobert Burnham <burnhamrobertp@gmail.com>2011-11-04 15:27:57 -0500
commit5521ed493c3cbbc8645e0ba7b61c4794c511beab (patch)
tree1b52594cf87b11fd3fa1638b8e1ffadcfcc97049 /crawl-ref/source/attack.h
parent839233c47ddf2e9d738e8447b0191fc77ac5515d (diff)
downloadcrawl-ref-5521ed493c3cbbc8645e0ba7b61c4794c511beab.tar.gz
crawl-ref-5521ed493c3cbbc8645e0ba7b61c4794c511beab.zip
Remove extra_noise; replace last instances with noise_factor
The extra_noise that got added in for flaming and elec attacks (1 and 2 respectively) is now added directly to noise_factor, adjusted (400 and 800 - respectively - * damage_done) to result in roughly the same amount of noise (with error due to rounding) after the noise_factor scaling equation (noise_factor * damage_done / 100 / 4)
Diffstat (limited to 'crawl-ref/source/attack.h')
-rw-r--r--crawl-ref/source/attack.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/attack.h b/crawl-ref/source/attack.h
index 02446249a4..25b12ef57b 100644
--- a/crawl-ref/source/attack.h
+++ b/crawl-ref/source/attack.h
@@ -36,7 +36,6 @@ public:
bool apply_bleeding;
int noise_factor;
- // int extra_noise; May not be needed??
// Fetched/Calculated from the attacker, stored to save execution time
bool unarmed_capable;