summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-14 21:46:31 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-14 21:46:31 +0000
commit99b051c4e4650638e0f902304a649c2ab55c3040 (patch)
tree195ccc2a6505c951024c9a615a46642b60c9b488 /crawl-ref/source/acr.cc
parente458eb5067931bf6d03772f5b110540c6f42443f (diff)
downloadcrawl-ref-99b051c4e4650638e0f902304a649c2ab55c3040.tar.gz
crawl-ref-99b051c4e4650638e0f902304a649c2ab55c3040.zip
Improved tutorial with extensive information on items
as well as a few features. A bit of a clean-up and a few additions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2001 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index f340b0c206..86672702ac 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -890,9 +890,6 @@ static void input()
if (Options.tut_just_triggered)
Options.tut_just_triggered = false;
- if (Options.tutorial_events[TUT_RUN_AWAY] && 2*you.hp < you.hp_max )
- learned_something_new(TUT_RUN_AWAY);
-
if ( i_feel_safe() )
{
if (Options.tutorial_left)
@@ -916,6 +913,14 @@ static void input()
}
}
}
+ else
+ {
+ if (2*you.hp < you.hp_max)
+ learned_something_new(TUT_RUN_AWAY);
+
+ if (Options.tutorial_type == TUT_MAGIC_CHAR && you.magic_points < 1)
+ learned_something_new(TUT_RETREAT_CASTER);
+ }
if ( you.duration[DUR_PARALYSIS] )
{