diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-18 06:52:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-18 06:52:42 +0000 |
commit | 9f751c796fa4ca1c22e66d4f31f293c0ea1955b6 (patch) | |
tree | 4d300ceda8beba72814a2de26bc723a911e67391 /crawl-ref/source/ghost.h | |
parent | a06edf5979429958d25705d9ea9a93e8a97da45d (diff) | |
download | crawl-ref-9f751c796fa4ca1c22e66d4f31f293c0ea1955b6.tar.gz crawl-ref-9f751c796fa4ca1c22e66d4f31f293c0ea1955b6.zip |
Implement part of [2837033]: Randomize colors, resistances, and attack
types/flavors for ugly things. They now use the ghost_demon struct,
expanded to account for these characteristics.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10709 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ghost.h')
-rw-r--r-- | crawl-ref/source/ghost.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/ghost.h b/crawl-ref/source/ghost.h index d10a664c68..f7f9dafb96 100644 --- a/crawl-ref/source/ghost.h +++ b/crawl-ref/source/ghost.h @@ -31,9 +31,12 @@ public: short max_hp, ev, ac, damage, speed; bool see_invis; brand_type brand; + mon_attack_type att_type; + mon_attack_flavour att_flav; mon_resist_def resists; bool spellcaster, cycle_colours; + unsigned char colour; flight_type fly; monster_spells spells; @@ -43,6 +46,8 @@ public: void reset(); void init_random_demon(); void init_player_ghost(); + void init_ugly_thing(bool very_ugly); + void ugly_thing_to_very_ugly_thing(); public: static std::vector<ghost_demon> find_ghosts(); @@ -56,6 +61,7 @@ private: private: void add_spells(); spell_type translate_spell(spell_type playerspell) const; + void ugly_thing_add_resistance(); }; bool debug_check_ghosts(); |