Home
last modified time | relevance | path

Searched refs:biased_random2 (Results 1 – 5 of 5) sorted by relevance

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Drandom.h89 int biased_random2(int max, int n);
H A Drandom.cc353 int biased_random2(int max, int n) in biased_random2() function
H A Dmakeitem.cc256 item.plus = 12 - biased_random2(7,2); in _try_make_weapon_artefact()
257 item.plus -= biased_random2(7,2); in _try_make_weapon_artefact()
258 item.plus -= biased_random2(7,2); in _try_make_weapon_artefact()
H A Dghost.cc307 int split = 1 + biased_random2(4, 2); in init_pandemonium_lord()
H A Dspl-goditem.cc208 const int pacified_roll = biased_random2(_pacification_sides(mon.type, pow) - 1,2); in _try_to_pacify()