diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-20 14:19:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-20 14:19:42 +0000 |
commit | 1db426b1b8d3fcfa2122dee47290597bcd63ee91 (patch) | |
tree | 360ef66174eed525363b0b5b07a59d9ba2be2831 /crawl-ref/source/mon-util.h | |
parent | 913179f028b4a254eb5034ef6ce945d07ac5925a (diff) | |
download | crawl-ref-1db426b1b8d3fcfa2122dee47290597bcd63ee91.tar.gz crawl-ref-1db426b1b8d3fcfa2122dee47290597bcd63ee91.zip |
Add monster-specific rotting resistance.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10740 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 7c1664294d..f871a05e5b 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -244,7 +244,11 @@ enum mon_resist_flags // Immune to stickiness of sticky flame. MR_RES_STICKY_FLAME = (1<<17), - MR_RES_STEAM = (1<<18) + + // Immune to rotting. + MR_RES_ROTTING = (1<<18), + + MR_RES_STEAM = (1<<19) }; enum shout_type @@ -383,6 +387,7 @@ struct mon_resist_def short acid; bool sticky_flame; + bool rotting; // Physical damage resists (currently unused) short pierce; @@ -614,6 +619,7 @@ int mons_res_fire(const monsters *mon); int mons_res_steam(const monsters *mon); int mons_res_poison(const monsters *mon); int mons_res_sticky_flame(const monsters *mon); +int mons_res_rotting(const monsters *mon); int mons_res_acid(const monsters *mon); int mons_res_negative_energy(const monsters *mon); int mons_res_miasma(const monsters *mon); |