summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-29 13:52:58 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-29 13:52:58 +0000
commit08c0c17c168b193b376df4fca0622026d2f1b5c6 (patch)
tree3cea79c31646570b157df7e69bd691b3eb960283 /crawl-ref/source/clua.cc
parent5555fc0365f3269fcedd48ea973de8614cc9f750 (diff)
downloadcrawl-ref-08c0c17c168b193b376df4fca0622026d2f1b5c6.tar.gz
crawl-ref-08c0c17c168b193b376df4fca0622026d2f1b5c6.zip
Adjust dragon armour properties back towards 4.0 (they were using 4.1.2 props
due to an accidental import circa 0.1). I've left hides closer to the 4.1.2 AC. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1689 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 5448ca6d68..5e9d621109 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -719,7 +719,7 @@ LUARET1(you_transform, string, transform_name())
LUARET1(you_where, string, level_id::current().describe().c_str())
LUARET1(you_branch, string, level_id::current().describe(false, false).c_str())
LUARET1(you_subdepth, number, level_id::current().depth)
-LUARET1(you_absdepth, number, you.your_level)
+LUARET1(you_absdepth, number, you.your_level + 1)
LUAWRAP(you_stop_activity, interrupt_activity(AI_FORCE_INTERRUPT))
void lua_push_floor_items(lua_State *ls);