summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/defines.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-11-11 00:04:29 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-11-11 00:04:29 +0100
commit6bd2a451f10b6d0b6dc5f2ff928c6d123b34b6f1 (patch)
tree2e2a7a1d748b073b3a87736e38a075d87dd287e7 /crawl-ref/source/defines.h
parent538dc9027eea2b09e5e888a24b16c9bc249dc6c1 (diff)
downloadcrawl-ref-6bd2a451f10b6d0b6dc5f2ff928c6d123b34b6f1.tar.gz
crawl-ref-6bd2a451f10b6d0b6dc5f2ff928c6d123b34b6f1.zip
Refactor Ashenzari transfer knowledge abiliy
Make it compatible with the new anti-training system. It is also much simpler and don't use the exercise function anymore.
Diffstat (limited to 'crawl-ref/source/defines.h')
-rw-r--r--crawl-ref/source/defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/defines.h b/crawl-ref/source/defines.h
index c7fb73e409..91f8748f23 100644
--- a/crawl-ref/source/defines.h
+++ b/crawl-ref/source/defines.h
@@ -199,6 +199,8 @@ const int DEPTH_PAN = 52;
const int BRANCH_DUNGEON_DEPTH = 27;
+const int ANTITRAIN_PENALTY = 2;
+
// Size of unique_items in player class
#define MAX_UNRANDARTS 100