summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-04-15 00:30:10 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-04-15 00:31:03 +0200
commit41023b32dfdc8d4d5da3e74ef9062c364769288b (patch)
tree8e78e173e5a7431398c88e178595123ab899f321 /crawl-ref/source/ouch.h
parent6c2e1adc9375f3e35bad96cb5a89be0d90a22229 (diff)
downloadcrawl-ref-41023b32dfdc8d4d5da3e74ef9062c364769288b.tar.gz
crawl-ref-41023b32dfdc8d4d5da3e74ef9062c364769288b.zip
Fire reduce icy shield and armour duration instead of destroying them.
Duration is reduced by damage * 10. When casting fire spells, duration is reduced by spell_power * 3. Those numbers probably need to be adjusted.
Diffstat (limited to 'crawl-ref/source/ouch.h')
-rw-r--r--crawl-ref/source/ouch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.h b/crawl-ref/source/ouch.h
index 594a05bb79..860229a14a 100644
--- a/crawl-ref/source/ouch.h
+++ b/crawl-ref/source/ouch.h
@@ -74,7 +74,8 @@ bool drain_exp(bool announce_full = true);
bool expose_items_to_element(beam_type flavour, const coord_def& where,
int strength = 0);
-bool expose_player_to_element(beam_type flavour, int strength = 0);
+bool expose_player_to_element(beam_type flavour, int strength = 0,
+ bool damage_inventory = true);
void screen_end_game(std::string text);
#endif