summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-03-12 18:10:22 -0230
committerDracoOmega <draco_omega@live.com>2014-03-12 19:52:16 -0230
commitb7d8f5a35a2be79f042381b88304f83e77aa769c (patch)
tree8edca68a554da9a9f5afadcc389bebb1a79c29bf /crawl-ref/source/traps.h
parentcd79464d151ff210f3dc0d83870b6f604f355554 (diff)
downloadcrawl-ref-b7d8f5a35a2be79f042381b88304f83e77aa769c.tar.gz
crawl-ref-b7d8f5a35a2be79f042381b88304f83e77aa769c.zip
Remove throwing net degradation, instead mulch probabilistically
Instead of throwing nets accumulating persistent damage as monsters struggled against them (and then becoming impossible to stack in your inventory afterward), they are either outright destroyed by the struggle or remain in normal condition. This should make them a little less cumbersome to use. This commit doesn't actually touch any of the escape formulas (which are an impressive snarl that could definitely use tending to), since probably they would need rewriting from scratch and I didn't want to undertake that so close to 0.14, with various other things still in the air.
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index 63781f737e..e946d115f0 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -15,6 +15,7 @@ struct trap_def;
void disarm_trap(const coord_def& where);
void free_self_from_net(void);
+void free_stationary_net(int item_index);
void handle_traps(trap_type trt, int i, bool trap_known);
int get_trapping_net(const coord_def& where, bool trapped = true);