diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2012-06-11 19:51:34 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-06-12 17:48:47 -0400 |
commit | 29d3f628dc1b1c706b8a4e595207424ec0f71c7f (patch) | |
tree | 7ef32bee140f38f62449737b88430919c083b195 /crawl-ref/source/itemprop.h | |
parent | 2f78c119a9e1017bcfe9f6184d5993e2ff61b0e9 (diff) | |
download | crawl-ref-29d3f628dc1b1c706b8a4e595207424ec0f71c7f.tar.gz crawl-ref-29d3f628dc1b1c706b8a4e595207424ec0f71c7f.zip |
Allow monsters to wear rings and amulets.
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r-- | crawl-ref/source/itemprop.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h index a160bb53d3..6f8761b88a 100644 --- a/crawl-ref/source/itemprop.h +++ b/crawl-ref/source/itemprop.h @@ -166,6 +166,14 @@ int get_armour_res_magic(const item_def &arm, bool check_artp); int get_armour_res_sticky_flame(const item_def &arm); bool get_armour_see_invisible(const item_def &arm, bool check_artp); +int get_jewellery_res_fire(const item_def &ring, bool check_artp); +int get_jewellery_res_cold(const item_def &ring, bool check_artp); +int get_jewellery_res_poison(const item_def &ring, bool check_artp); +int get_jewellery_res_elec(const item_def &ring, bool check_artp); +int get_jewellery_life_protection(const item_def &ring, bool check_artp); +int get_jewellery_res_magic(const item_def &ring, bool check_artp); +bool get_jewellery_see_invisible(const item_def &ring, bool check_artp); + int property(const item_def &item, int prop_type); bool gives_ability(const item_def &item); bool gives_resistance(const item_def &item); |