diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-06 12:57:29 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-06 12:57:29 +0000 |
commit | 8d44ee97df27c920b7b457a2a1e15f1b6fc28acd (patch) | |
tree | 96d090902bc91cc7eb862b951657f7d39a293ce9 /crawl-ref/source/ghost.cc | |
parent | fb0146106d3060d34fe2c187a73e0bc3f1ba4082 (diff) | |
download | crawl-ref-8d44ee97df27c920b7b457a2a1e15f1b6fc28acd.tar.gz crawl-ref-8d44ee97df27c920b7b457a2a1e15f1b6fc28acd.zip |
Orbs of fire are no longer silenceable.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1774 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r-- | crawl-ref/source/ghost.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc index a31158bf59..8a9e69a612 100644 --- a/crawl-ref/source/ghost.cc +++ b/crawl-ref/source/ghost.cc @@ -143,7 +143,7 @@ void ghost_demon::init_random_demon() // demons, like ghosts, automatically get poison res. and life prot. // resist electricity: - values[ GVAL_RES_ELEC ] = (!one_chance_in(3) ? 1 : 0); + values[ GVAL_RES_ELEC ] = !one_chance_in(3); // HTH damage: values[ GVAL_DAMAGE ] = 20 + roll_dice( 2, 20 ); @@ -167,7 +167,7 @@ void ghost_demon::init_random_demon() // is demon a spellcaster? // upped from one_chance_in(3)... spellcasters are more interesting // and I expect named demons to typically have a trick or two -- bwr - values[GVAL_DEMONLORD_SPELLCASTER] = (one_chance_in(10) ? 0 : 1); + values[GVAL_DEMONLORD_SPELLCASTER] = !one_chance_in(10); // does demon fly? (0 = no, 1 = fly, 2 = levitate) values[GVAL_DEMONLORD_FLY] = (one_chance_in(3) ? 0 : |