summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/random.h
diff options
context:
space:
mode:
authorelliptic <hyperelliptical@gmail.com>2013-08-26 20:11:01 -0400
committerelliptic <hyperelliptical@gmail.com>2013-08-26 20:11:01 -0400
commit44efbc97f7b172a61e09fa0c054832add0692a27 (patch)
treee51c864f9499a0f0ddb29b0680c1a32d0705898b /crawl-ref/source/random.h
parent04e3a93a1fb0f08d580a007a149094fef39430b8 (diff)
downloadcrawl-ref-44efbc97f7b172a61e09fa0c054832add0692a27.tar.gz
crawl-ref-44efbc97f7b172a61e09fa0c054832add0692a27.zip
Increase enchantment on weapon randarts.
It was generally agreed that weapon randarts are a bit weaker than non-weapon randarts on average. This commit buffs them by increasing their accuracy and damage enchantment by about 3 each on average (while maintaining the same [-6,+12] range of possibilities).
Diffstat (limited to 'crawl-ref/source/random.h')
-rw-r--r--crawl-ref/source/random.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/random.h b/crawl-ref/source/random.h
index ffa3497b14..374b89b8f3 100644
--- a/crawl-ref/source/random.h
+++ b/crawl-ref/source/random.h
@@ -24,6 +24,7 @@ double random_range_real(double low, double high, int nrolls = 1);
int random2avg(int max, int rolls);
int bestroll(int max, int rolls);
+int biased_random2(int max, int n);
int random2limit(int max, int limit);
int binomial_generator(unsigned n_trials, unsigned trial_prob);
bool bernoulli(double n_trials, double trial_prob);