diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-15 09:39:09 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-15 09:39:09 +0000 |
commit | 6b01f8a9a0e4d0cfbad1beb76002810d8e0203a8 (patch) | |
tree | 1291287ce0c9443d6911c4ecd0ec2d3b8ebd77ae /crawl-ref/source/randart.cc | |
parent | 66740a30c6be993c636285d8351ad0f50c1a8ec7 (diff) | |
download | crawl-ref-6b01f8a9a0e4d0cfbad1beb76002810d8e0203a8.tar.gz crawl-ref-6b01f8a9a0e4d0cfbad1beb76002810d8e0203a8.zip |
Add a tutorial hint for encountering an invisible monster and offer a
different healing message if you recently met an invisible monster, as
suggested in FR 1964267. Killing an invisible monster does not yet reset
the counter, though I guess it should.
Also, disallow randart weapons to be named after Sif Muna. (Vehumet,
too, maybe?)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5052 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r-- | crawl-ref/source/randart.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index d9014d9a2d..7e89bac6d7 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -109,6 +109,10 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item) break; case GOD_SIF_MUNA: + // no weapons for Sif Muna + if (item.base_type == OBJ_WEAPONS) + return (false); + case GOD_KIKUBAAQUDGHA: case GOD_VEHUMET: if (randart_wpn_property( item, RAP_PREVENT_SPELLCASTING )) |