diff options
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 99c4ba3268..9793c5cc34 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -818,6 +818,18 @@ struct mon_attack_def class ghost_demon; class level_id; +struct mon_enchant +{ + enchant_type ench; + kill_category who; // Who set this enchantment? + int degree; + + mon_enchant(enchant_type e, int deg = 1, kill_category whose = KC_OTHER) + : ench(e), who(whose), degree(deg) + { + } +}; + class monsters : public actor { public: |