diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-24 17:28:46 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-24 17:28:46 +0000 |
commit | 6df89800353b16e265eebf447d8b898469cd7bc8 (patch) | |
tree | fb20abdbf5b483a9a5f257b9dcdec7b03d338a08 /crawl-ref/source/mgrow.h | |
parent | e63d0ce25374303ed7a08f0993eecb7d509b5eac (diff) | |
download | crawl-ref-6df89800353b16e265eebf447d8b898469cd7bc8.tar.gz crawl-ref-6df89800353b16e265eebf447d8b898469cd7bc8.zip |
Add priest promotion-re;ated fixes. Rename monsters::change_type() to
monsters::upgrade_type(), as it's more accurate, allow it to adjust HD
as well as HP, and do the latter when promoting to a priest, to make
sure that it ends up with the proper HD.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3860 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mgrow.h')
-rw-r--r-- | crawl-ref/source/mgrow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mgrow.h b/crawl-ref/source/mgrow.h index 047e1ed821..36ddfb8000 100644 --- a/crawl-ref/source/mgrow.h +++ b/crawl-ref/source/mgrow.h @@ -19,7 +19,7 @@ struct monster_level_up monster_type before, after; int chance; // Chance in 1000 of the monster growing up, // defaults to 1000. - + bool adjust_hp; // If hp post growing up is less than minimum, adjust it. monster_level_up(monster_type _before, monster_type _after, |