summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godprayer.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-06-26 00:00:32 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-06-26 00:00:32 -0700
commit804a95838b948d818a2d2d49d47c8f1e52f246ee (patch)
tree1502e45b6f44d78946c601c75ec712cca20ff733 /crawl-ref/source/godprayer.cc
parent8450e6c8d00e3c2b5c8db51718f3ade4ed5adc3a (diff)
downloadcrawl-ref-804a95838b948d818a2d2d49d47c8f1e52f246ee.tar.gz
crawl-ref-804a95838b948d818a2d2d49d47c8f1e52f246ee.zip
Let godless hill orcs convert to priests with (p)
Since everyone seemed to assume that's how it worked anyway. (Probably because that's how you convert to altar gods...) Possibly this should be documented in-game. (But would that just confuse players more?)
Diffstat (limited to 'crawl-ref/source/godprayer.cc')
-rw-r--r--crawl-ref/source/godprayer.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc
index d89e8fd151..591f88f65e 100644
--- a/crawl-ref/source/godprayer.cc
+++ b/crawl-ref/source/godprayer.cc
@@ -406,6 +406,17 @@ void pray()
if (you_worship(GOD_NO_GOD))
{
+ if (env.level_state & LSTATE_BEOGH && can_convert_to_beogh())
+ {
+ you.turn_is_over = true;
+ // But if we don't convert then god_pitch
+ // makes it not take a turn after all.
+ god_pitch(GOD_BEOGH);
+ if (you_worship(GOD_BEOGH))
+ spare_beogh_convert();
+ return;
+ }
+
const mon_holy_type holi = you.holiness();
mprf(MSGCH_PRAY,