summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-20 17:33:28 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-21 22:11:07 -0700
commit5cd3e4e3e1d9ac3bf2d0192c3d9fe4ec85797af9 (patch)
treeaac702af519accdc6b395211810a98cf2911d5d8 /crawl-ref/source/monster.h
parentf2c9da4351876ec2e5158080711c2bcc1fd70c0f (diff)
downloadcrawl-ref-5cd3e4e3e1d9ac3bf2d0192c3d9fe4ec85797af9.tar.gz
crawl-ref-5cd3e4e3e1d9ac3bf2d0192c3d9fe4ec85797af9.zip
Augmentation for torturous demonspawn.
Melee-wise, this adds a 15% damage bonus per augmentation tier; spell-wise, it adds an effective 2 HD per tier. There's a framework here to allow for other monster spell enhancers if we decide we want to go down that road at some future date.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index a82229e363..e0b5c1c5a5 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -500,6 +500,9 @@ public:
// Jumping spiders (jump instead of blink)
bool is_jumpy() const;
+ int aug_amount() const;
+ int spell_hd(spell_type spell = SPELL_NO_SPELL) const;
+
private:
void init_with(const monster& mons);
void swap_slots(mon_inv_type a, mon_inv_type b);