From f8aebd518b618b923f021edb395e23e5702db1e1 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 28 Mar 2008 22:47:14 +0000 Subject: For TSO, make the rarest blessing that of branding a monster's weapon with holy wrath (where Beogh would promote an orc to an orc priest). This is not used yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3921 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index b1420070d0..1feee1460f 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -830,17 +830,17 @@ void set_helmet_random_desc( item_def &item ) if (is_hard_helmet(item)) item.plus2 = random2(THELM_NUM_DESCS); - else + else item.plus2 = random2(THELM_DESC_MAX_SOFT + 1); } -// +// // Ego item functions: // bool set_item_ego_type( item_def &item, int item_type, int ego_type ) { - if (item.base_type == item_type - && !is_random_artefact( item ) + if (item.base_type == item_type + && !is_random_artefact( item ) && !is_fixed_artefact( item )) { item.special = ego_type; -- cgit v1.2.3-54-g00ecf