diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-18 19:22:09 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:23:23 -0600 |
commit | a40780a3aa888c27bccca6cd8a115a82cd27482d (patch) | |
tree | 70192ea535861bbae78e027adbbf4e5553033e74 /crawl-ref/source/mon-ench.cc | |
parent | 7de9ec40489c228413afb543a1782b0fd0b0301e (diff) | |
download | crawl-ref-a40780a3aa888c27bccca6cd8a115a82cd27482d.tar.gz crawl-ref-a40780a3aa888c27bccca6cd8a115a82cd27482d.zip |
Handling for attacking bribed creatures.
They become un-bribed, and other bribed creatures that can see them also
become un-bribed; a permabribe increment for the creature is deducted
against the branch bribe score for this action.
Diffstat (limited to 'crawl-ref/source/mon-ench.cc')
-rw-r--r-- | crawl-ref/source/mon-ench.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-ench.cc b/crawl-ref/source/mon-ench.cc index 0941d69675..44ccf16834 100644 --- a/crawl-ref/source/mon-ench.cc +++ b/crawl-ref/source/mon-ench.cc @@ -625,7 +625,7 @@ void monster::remove_enchantment_effect(const mon_enchant &me, bool quiet) case ENCH_PERMA_BRIBED: // Only demand further payment if you can see the player. - if (you_worship(GOD_GOZAG)) + if (you_worship(GOD_GOZAG) && !props.exists(GOZAG_BRIBE_BROKEN_KEY)) { if (!you.can_see(this)) { |