summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godwrath.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-03-30 01:43:05 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-03-30 01:51:56 +0200
commit20da341cf8c0ddd24b1213459927804c4abd8dff (patch)
treed8ce2d022410e1ea84ea663a30d2b0b82f8c63c2 /crawl-ref/source/godwrath.h
parent084875d14c32853fe086900434f596ca5e4e6868 (diff)
downloadcrawl-ref-20da341cf8c0ddd24b1213459927804c4abd8dff.tar.gz
crawl-ref-20da341cf8c0ddd24b1213459927804c4abd8dff.zip
Ashenzari's wrath.
Per Galehar's suggestion, he takes a part of your xp for 0.8; we may turn this into a skill malus or something in the future. I went for a bigger penalty, though: 50%. The wrath doesn't use time like all other gods do. Using exploration would be easily gameable: run around, superficially exploring a bunch of levels while not killing anything big, then go back to harvest the xp. Thus, the wrath lasts until you lose a preset amount of xp.
Diffstat (limited to 'crawl-ref/source/godwrath.h')
-rw-r--r--crawl-ref/source/godwrath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/godwrath.h b/crawl-ref/source/godwrath.h
index b8fefeebe3..73490f6a9b 100644
--- a/crawl-ref/source/godwrath.h
+++ b/crawl-ref/source/godwrath.h
@@ -9,4 +9,5 @@
bool divine_retribution(god_type god, bool no_bonus = false, bool force = false);
bool do_god_revenge(conduct_type thing_done);
+int ash_reduce_xp(int amount);
#endif