summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.h
diff options
context:
space:
mode:
authorPete Hurst <pete@streamuniverse.tv>2013-07-01 08:05:20 +0100
committerPete Hurst <pete@streamuniverse.tv>2013-07-01 08:45:12 +0100
commitd9ab3cbd745b964efc35e06224bec21f5830a644 (patch)
treee6a8f1da6427297440709074b765648797527982 /crawl-ref/source/ghost.h
parentfed54df21dab764a1516265e8db037ba198339e3 (diff)
downloadcrawl-ref-d9ab3cbd745b964efc35e06224bec21f5830a644.tar.gz
crawl-ref-d9ab3cbd745b964efc35e06224bec21f5830a644.zip
Change chimera to use ghost_demon object and implement resists
Currently resists are additive between the three different parts. Also the chimera now gets SInv if one of the parts has it.
Diffstat (limited to 'crawl-ref/source/ghost.h')
-rw-r--r--crawl-ref/source/ghost.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/ghost.h b/crawl-ref/source/ghost.h
index 06fadaa937..fc503570a4 100644
--- a/crawl-ref/source/ghost.h
+++ b/crawl-ref/source/ghost.h
@@ -45,6 +45,10 @@ public:
colour_t force_colour = BLACK);
void init_dancing_weapon(const item_def& weapon, int power);
void init_spectral_weapon(const item_def& weapon, int power, int wpn_skill);
+ void init_chimera(monster* mon, monster_type parts[]);
+ bool init_chimera_for_place(monster* mon, level_id place,
+ monster_type chimera_type, coord_def pos);
+
void ugly_thing_to_very_ugly_thing();
public:
@@ -61,6 +65,8 @@ private:
spell_type translate_spell(spell_type playerspell) const;
void ugly_thing_add_resistance(bool very_ugly,
attack_flavour u_att_flav);
+
+ void _apply_chimera_part(monster* mon, monster_type part, int partnum);
};
bool debug_check_ghosts();