summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-place.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-02 21:25:48 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:20 -0600
commit3d55e912dc5df60344645ce6a092257dd1948264 (patch)
tree26a2858be1bcbaaaf756a6a2ab87a83f6d1f14d8 /crawl-ref/source/mon-place.cc
parentba5a6485e52823b2a6082f18ee3487e280ad51a2 (diff)
downloadcrawl-ref-3d55e912dc5df60344645ce6a092257dd1948264.tar.gz
crawl-ref-3d55e912dc5df60344645ce6a092257dd1948264.zip
Gozag wrath: counter-bribe.
When you spot monsters, Gozag can incite them against you, granting them one of a handful of beneficial effects.
Diffstat (limited to 'crawl-ref/source/mon-place.cc')
-rw-r--r--crawl-ref/source/mon-place.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-place.cc b/crawl-ref/source/mon-place.cc
index 064694dd4a..9517874b28 100644
--- a/crawl-ref/source/mon-place.cc
+++ b/crawl-ref/source/mon-place.cc
@@ -1802,7 +1802,8 @@ static monster* _place_monster_aux(const mgen_data &mg, const monster *leader,
{
// Try to bribe the monster.
const int bribability = gozag_type_bribable(mon->type);
- if (bribability > 0 && x_chance_in_y(bribability, 16))
+ if (bribability > 0 && x_chance_in_y(bribability,
+ GOZAG_MAX_BRIBABILITY))
{
bool minion = mg.flags & MG_BAND_MINION;
const branch_type br = gozag_bribable_branch(mon->type);