summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/randart.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-18 05:56:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-18 05:56:17 +0000
commitf0278d5a9cfa4c4ab151b20ecb48557844634caa (patch)
tree28519c81c86d3e3f11bfcb5e0e7ca6a20f74943c /crawl-ref/source/randart.cc
parent4e05412f06cc34b882d1f1f6aa03a1cbe558578c (diff)
downloadcrawl-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.cc6
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;