diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 05:56:17 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 05:56:17 +0000 |
commit | f0278d5a9cfa4c4ab151b20ecb48557844634caa (patch) | |
tree | 28519c81c86d3e3f11bfcb5e0e7ca6a20f74943c /crawl-ref/source/randart.cc | |
parent | 4e05412f06cc34b882d1f1f6aa03a1cbe558578c (diff) | |
download | crawl-ref-f0278d5a9cfa4c4ab151b20ecb48557844634caa.tar.gz crawl-ref-f0278d5a9cfa4c4ab151b20ecb48557844634caa.zip |
Simplify TSO artefact gifts further, just in case they're ever expanded
beyond blessing long swords.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4321 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r-- | crawl-ref/source/randart.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 4e9ab1a8ed..8f1c8d4f2a 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -91,9 +91,7 @@ static bool god_fits_artefact(const god_type which_god, const item_def &item) break; case GOD_SHINING_ONE: // holiness, honourable combat - if (item.base_type != OBJ_WEAPONS - || weapon_skill(item) != SK_LONG_BLADES - || brand != SPWPN_HOLY_WRATH) + if (item.base_type == OBJ_WEAPONS && brand != SPWPN_HOLY_WRATH) { return (false); } @@ -134,7 +132,7 @@ static bool god_fits_artefact(const god_type which_god, const item_def &item) case GOD_SIF_MUNA: case GOD_KIKUBAAQUDGHA: case GOD_VEHUMET: - if (randart_wpn_property( item, RAP_PREVENT_SPELLCASTING)) + if (randart_wpn_property( item, RAP_PREVENT_SPELLCASTING )) return (false); break; |