diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-14 23:29:19 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-14 23:29:19 +0000 |
commit | 94002884ec345eb4e7d6680d6ce26c9b3b0a245a (patch) | |
tree | 2823754e89885a73fb83dd1c0ea07b76e88e3a6d /crawl-ref/source/religion.cc | |
parent | 3b818666ded14091b0ad01215b66fe1fccf2a2d6 (diff) | |
download | crawl-ref-94002884ec345eb4e7d6680d6ce26c9b3b0a245a.tar.gz crawl-ref-94002884ec345eb4e7d6680d6ce26c9b3b0a245a.zip |
Vampires, yay! Credit mostly goes to Jarmo, though
there are a few traces of things I've changed
(that I've included and then commented out).
There's still lots of stuff to be added, but they
should be playable right now. I notice that their
vampiric bite attack needs to be made more
probable. Feel free to comment on anything that
looks weird, is plain wrong, or goes against the
spirit of Crawl/Stonesoup.
Positive feedback will be appreciated as well. :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1870 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 90474958fc..512903840b 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -953,6 +953,21 @@ bool did_god_conduct( conduct_type thing_done, int level ) switch (thing_done) { + case DID_DRINK_BLOOD: + switch (you.religion) + { + case GOD_ZIN: + case GOD_SHINING_ONE: + case GOD_ELYVILON: + // no penance as this can happen accidentally + piety_change = -2*level; + ret = true; + break; + default: + break; + } + break; + case DID_NECROMANCY: case DID_UNHOLY: case DID_ATTACK_HOLY: |