summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorSage <SageBasilMint@gmail.com>2014-02-26 21:03:23 -0800
committerSage <SageBasilMint@gmail.com>2014-02-27 11:01:45 -0800
commit87dd2e8cf17f19245328737dec40c15912b3ab6d (patch)
tree56102d25cdf8506c319ca081a3b5127a0b6ae81d /crawl-ref/source/ouch.cc
parent5b3cdf80c6b387c5ba40d406d22660383e5b5eda (diff)
downloadcrawl-ref-87dd2e8cf17f19245328737dec40c15912b3ab6d.tar.gz
crawl-ref-87dd2e8cf17f19245328737dec40c15912b3ab6d.zip
New artefact: Firestarter
+7 great mace of flaming. rF++, scrollcons, inner flames monsters on hit.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 18216723a5..cee772c5d8 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -531,6 +531,13 @@ static bool _expose_invent_to_element(beam_type flavour, int strength)
continue;
}
+ if (target_class == OBJ_SCROLLS
+ && player_equip_unrand(UNRAND_FIRESTARTER)
+ && !one_chance_in(10))
+ {
+ continue;
+ }
+
if (target_class == OBJ_POTIONS
&& you.mutation[MUT_CONSERVE_POTIONS]
&& !one_chance_in(10))