diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-04-15 00:30:10 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-04-15 00:31:03 +0200 |
commit | 41023b32dfdc8d4d5da3e74ef9062c364769288b (patch) | |
tree | 8e78e173e5a7431398c88e178595123ab899f321 /crawl-ref/source/ouch.h | |
parent | 6c2e1adc9375f3e35bad96cb5a89be0d90a22229 (diff) | |
download | crawl-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.h | 3 |
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 |