diff options
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r-- | crawl-ref/source/randart.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 6f59c64456..4e9ab1a8ed 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -92,14 +92,12 @@ static bool god_fits_artefact(const god_type which_god, const item_def &item) case GOD_SHINING_ONE: // holiness, honourable combat if (item.base_type != OBJ_WEAPONS - || weapon_skill(item) != SK_LONG_BLADES) + || weapon_skill(item) != SK_LONG_BLADES + || brand != SPWPN_HOLY_WRATH) { return (false); } - if (brand != SPWPN_HOLY_WRATH) - return (false); - if (randart_wpn_property( item, RAP_INVISIBLE ) || randart_wpn_property( item, RAP_STEALTH ) > 0) { @@ -128,6 +126,11 @@ static bool god_fits_artefact(const god_type which_god, const item_def &item) break; + case GOD_LUGONU: // corruption + if (item.base_type == OBJ_WEAPONS && brand != SPWPN_DISTORTION) + return (false); + break; + case GOD_SIF_MUNA: case GOD_KIKUBAAQUDGHA: case GOD_VEHUMET: |