diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-29 22:20:54 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-29 22:20:54 +0000 |
commit | 10676923ec3e6a636e021089ef8e0e39c097e983 (patch) | |
tree | 8d808505b259b446cea3f6fd15afbcd144aa8492 /crawl-ref/source/spl-book.h | |
parent | eeaba130f2a67321b64889c935fe443af70e3e97 (diff) | |
download | crawl-ref-10676923ec3e6a636e021089ef8e0e39c097e983.tar.gz crawl-ref-10676923ec3e6a636e021089ef8e0e39c097e983.zip |
FR 2532818: Allow randart books to be named after uniques and legendary mages.
Also, randart books created by acquirement (not gifts) have a chance to
be named after the player.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8848 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index e48ea6fe09..53aaef2f49 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -70,7 +70,7 @@ int count_staff_spells(const item_def &item, bool need_id); int rod_shield_leakage(); bool make_book_level_randart(item_def &book, int level = -1, - int num_spells = -1); + int num_spells = -1, std::string owner = ""); bool make_book_theme_randart(item_def &book, int disc1 = 0, int disc2 = 0, int num_spells = -1, int max_levels = -1, |