diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-15 12:42:37 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-15 12:42:37 +0000 |
commit | 94ecb28d87ead9a3d77f2bbecc59eb8cc978d95c (patch) | |
tree | 772de64bfd8b558a1ee04307191c5fa8a9177001 /crawl-ref/source/tutorial.cc | |
parent | 78db5db504f491e368f4fdef6dff4976cb003951 (diff) | |
download | crawl-ref-94ecb28d87ead9a3d77f2bbecc59eb8cc978d95c.tar.gz crawl-ref-94ecb28d87ead9a3d77f2bbecc59eb8cc978d95c.zip |
Fix tutorial message about gaining a skill being shown outside tutorial.
Move damage reduction for petrified monsters out of the stab check and
into the general damage calculation. Still 1/3.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5846 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 7abc98742d..2f51959ef8 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1016,6 +1016,9 @@ void taken_new_item(unsigned char item_type) // Give a special message if you gain a skill you didn't have before. void tut_gained_new_skill(int skill) { + if (!Options.tutorial_left) + return; + learned_something_new(TUT_SKILL_RAISE); switch (skill) |