summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.h')
-rw-r--r--crawl-ref/source/effects.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.h b/crawl-ref/source/effects.h
index 0ed6b8371e..3c3d741816 100644
--- a/crawl-ref/source/effects.h
+++ b/crawl-ref/source/effects.h
@@ -18,6 +18,10 @@
struct bolt;
+class monsters;
+class item_def;
+
+
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: ability - acr - beam - decks - fight - religion - spells
@@ -38,7 +42,15 @@ bool forget_spell(void);
* spells2 - spells4
* *********************************************************************** */
bool lose_stat(unsigned char which_stat, unsigned char stat_loss,
- bool force = false);
+ bool force = false, const std::string cause = "",
+ bool see_source = true);
+bool lose_stat(unsigned char which_stat, unsigned char stat_loss,
+ bool force = false, const char* cause = NULL,
+ bool see_source = true);
+bool lose_stat(unsigned char which_stat, unsigned char stat_loss,
+ const monsters* cause, bool force = false);
+bool lose_stat(unsigned char which_stat, unsigned char stat_loss,
+ const item_def &cause, bool removed, bool force = false);
// last updated 12may2000 {dlb}