summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-21 21:35:23 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-21 22:11:39 -0700
commit2cf8d755b10f8c80412351ebfb424485cc82f3d9 (patch)
treedcd9b6619a1a77936a38640159ae875f20f7063c /crawl-ref/source/hiscores.cc
parentce86bbf1374fe8894466314c116b39bd0b2fbf3b (diff)
downloadcrawl-ref-2cf8d755b10f8c80412351ebfb424485cc82f3d9.tar.gz
crawl-ref-2cf8d755b10f8c80412351ebfb424485cc82f3d9.zip
Demonspawn warmonger: Sap Magic.
Based on Punishment of Excess from the proposal. Casting spells while afflicted by this hex progressively hinders your spellcasting success (or adds antimagic enchantment levels if you are a monster). Technically this could be extended to have an effect specific to individual spell schools, but that would result in a lot of duplication of durations and the like.
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index a6c78e76ad..1a97aeaff9 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1572,6 +1572,8 @@ void scorefile_entry::init(time_t dt)
DUR_TOXIC_RADIANCE,
DUR_FIRE_VULN,
DUR_FROZEN,
+ DUR_SAP_MAGIC,
+ STATUS_MAGIC_SAPPED,
};
status_info inf;