diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-10 18:38:24 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-10 18:38:24 +0000 |
commit | 4bd4e54c8f73f474104e26b78bede21625f1d1ef (patch) | |
tree | 58dc3b0d3baf438e8fc037fd92231fd2c0f699bd /crawl-ref/source/beam.cc | |
parent | 567cf0316aef7e75f8d7f9306b897f12c5b9f4e7 (diff) | |
download | crawl-ref-4bd4e54c8f73f474104e26b78bede21625f1d1ef.tar.gz crawl-ref-4bd4e54c8f73f474104e26b78bede21625f1d1ef.zip |
Add comments documenting exceptions to the general rule of making
monster-creating spell (mis)casts produce god gifts. The exceptions are
all natural phenomena treated as monsters: ball lightning, spatial
vortices, and fire vortices.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5708 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 6660690c8e..d5110b9a20 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -3442,6 +3442,8 @@ static void _affect_place_explosion_clouds(bolt &beam, int x, int y) place_cloud( CLOUD_FIRE, x, y, duration, _whose_kill(beam) ); + // God gift exception: A fire vortex is a natural phenomenon + // treated as a monster, so don't mark it as a god gift. if (grd[x][y] == DNGN_FLOOR && mgrd[x][y] == NON_MONSTER && one_chance_in(4)) { |