summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorMark Mackey <atomjack@users.sourceforge.net>2010-11-05 15:23:35 +0000
committerMark Mackey <atomjack@users.sourceforge.net>2010-11-05 15:23:35 +0000
commit4080d7d1ebf51243d9da41fc2b10790858bb6bc7 (patch)
tree6fc6b7c965781611103d2ce98d0ef9b6ea8bd508 /crawl-ref/source/traps.h
parentd24286dc2d4bc4c0ef570b3d4cf5e87ee5a4d3e2 (diff)
downloadcrawl-ref-4080d7d1ebf51243d9da41fc2b10790858bb6bc7.tar.gz
crawl-ref-4080d7d1ebf51243d9da41fc2b10790858bb6bc7.zip
Increased trap cost and shuffled around.
Made trap costs dependent on the number of traps. Possibly too high atm. Fixed zot map 3 Added zot map 4 - still needs balancing Added a small amount of randomisation to the monster pathfinding A* algorithm. Made blade traps break eventually
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index a40aaf2941..f3b94eb834 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -56,4 +56,6 @@ trap_type traps_abyss_type(int level_number = -1);
int traps_lab_number(int level_number = -1);
trap_type traps_lab_type(int level_number = -1);
+int count_traps(trap_type ttyp);
+
#endif