diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-07 17:57:12 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-07 17:57:12 +0000 |
commit | 84e73a2e1530424121ee0f54b58aa44657aaef30 (patch) | |
tree | f501e26bd7e34b717c9e2b100a0a5e14a7146ae1 /crawl-ref/source | |
parent | 0f94a7834ef9e6e39658d5d2a00dfb371f6a9f4e (diff) | |
download | crawl-ref-84e73a2e1530424121ee0f54b58aa44657aaef30.tar.gz crawl-ref-84e73a2e1530424121ee0f54b58aa44657aaef30.zip |
Damaging a monster with a draining beam is now considered necromatic
magic (I suppose this might be doubly-applied if you cast Bolt of Draining
while worshipping TSO; that's the breaks.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@797 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/beam.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 6b2956499a..a80b8b6d39 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1594,6 +1594,9 @@ int mons_adjust_flavoured( struct monsters *monster, struct bolt &pbolt, simple_monster_message(monster, " is drained."); + if (YOU_KILL(pbolt.thrower)) + did_god_conduct(DID_NECROMANCY, 2 + random2(3)); + if (one_chance_in(5)) monster->hit_dice--; |