summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-05 00:10:42 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-05 00:10:42 +0000
commit5d1b831fa8fef53755d0512981ede3842e44f2fe (patch)
tree9ba12b18cbcad54322380e9d6fe59a26e901d596 /crawl-ref/source/religion.h
parent4e94e41a4d18df858c558cde111fdbeb7f99c6ed (diff)
downloadcrawl-ref-5d1b831fa8fef53755d0512981ede3842e44f2fe.tar.gz
crawl-ref-5d1b831fa8fef53755d0512981ede3842e44f2fe.zip
A pious follower of the good gods can now turn holy beings neutral on
sight, a la Beogh and orcs; the more pious the follower is, the greater the chance (piety > random2(200)). Additional chances to turn holy beings neutral come up when the follower works off all penance or gains a new piety level. The neutrality check will fail half the time if the follower wields an evil weapon, and if the follower switches to an evil god, all neutral and friendly holy beings will turn hostile. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3397 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r--crawl-ref/source/religion.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index 04df6bddfa..76eae4ae65 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -63,7 +63,9 @@ void divine_retribution(god_type god);
bool beogh_water_walk();
void beogh_idol_revenge();
+void good_god_convert_holy(monsters *holy);
void beogh_convert_orc(monsters *orc, bool emergency);
+bool is_evil_weapon(const item_def& weap);
bool ely_destroy_weapons();
bool trog_burn_books();
bool tso_stab_safe_monster(const actor *act);