diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-26 12:49:14 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-26 12:49:14 +0000 |
commit | 5c061029d1c6edea3a7d27d079fc44d002166d7e (patch) | |
tree | a02aeccaf50887cb3f6c4e02cba47fc26bce759b /crawl-ref/source/monstuff.h | |
parent | 728d47739090f3b3e739858af065168fdea4eeb4 (diff) | |
download | crawl-ref-5c061029d1c6edea3a7d27d079fc44d002166d7e.tar.gz crawl-ref-5c061029d1c6edea3a7d27d079fc44d002166d7e.zip |
Remove Beogh recalling orcs for you, and instead try harder to find
existing followers on the level (with decreasing chances) to bless them.
This lowers probability of the reinforcement effect from 10% to 2.5%
if bless_follower() is called without any parameters in the first place.
Greatly reduce chances for orcs talking, and tidy up monspeak.txt a bit
to make comparing chances easier.
Add the promised friendly pickup toggle (command on Ctrl-T), and a new
option for its default value. Modify documentation accordingly.
Fix 1947256: hunger state not shown at game reload.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4662 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r-- | crawl-ref/source/monstuff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h index 50bf95f3d3..4067d35caa 100644 --- a/crawl-ref/source/monstuff.h +++ b/crawl-ref/source/monstuff.h @@ -129,6 +129,12 @@ int choose_random_nearby_monster(int weight, bool in_sight = true, bool prefer_named = false); +int choose_random_monster_on_level(int weight, + bool (*suitable)(const monsters* mon) = + choose_any_monster, + bool in_sight = true, bool near_by = false, + bool prefer_named = false); + /* *********************************************************************** * called from: acr * *********************************************************************** */ |