diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-02-24 11:13:12 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-02-24 11:13:12 +0000 |
commit | 8674d7ae28e958983128c045fb8504b037785da7 (patch) | |
tree | f703dc699ab5ad333b7d1f3cc48dd9cf6c043fb0 /crawl-ref/source/enum.h | |
parent | 822ac3ae2e353dc3ba45be39922d6e24d64791b0 (diff) | |
download | crawl-ref-8674d7ae28e958983128c045fb8504b037785da7.tar.gz crawl-ref-8674d7ae28e958983128c045fb8504b037785da7.zip |
Monster attack refactoring. Likely to be buggy.
Fixed tracer explosion beams generating clouds.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@959 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 9cb755a6d1..a6000a6a44 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -875,8 +875,8 @@ enum description_level_type DESC_NOCAP_YOUR, // 5 DESC_PLAIN, // 6 DESC_NOCAP_ITS, // 7 - DESC_INVENTORY_EQUIP, // 8 - DESC_INVENTORY // 8 + DESC_INVENTORY_EQUIP, // 8 + DESC_INVENTORY // 9 }; enum dragon_class_type @@ -1841,7 +1841,6 @@ enum mons_class_flags M_UNIQUE = (1<<20), // monster is a unique - M_CLAWS = (1<<21), // Chops off hydra heads in combat. M_ACID_SPLASH = (1<<22), // Passive acid splash when hit. M_SPECIAL_ABILITY = (1<<26), // XXX: eventually make these spells? @@ -2290,6 +2289,46 @@ enum beh_type BEH_GUARD // creation only - monster is guard }; +enum mon_attack_type +{ + AT_NONE, + AT_HIT, // including weapon attacks + AT_BITE, + AT_STING, + AT_SPORE, + AT_TOUCH, + AT_ENGULF, + AT_CLAW, + AT_TAIL_SLAP +}; + +enum mon_attack_flavour +{ + AF_PLAIN, + AF_ACID, + AF_BLINK, + AF_COLD, + AF_CONFUSE, + AF_DISEASE, + AF_DRAIN_DEX, + AF_DRAIN_STR, + AF_DRAIN_XP, + AF_ELEC, + AF_FIRE, + AF_HUNGER, + AF_MUTATE, + AF_BAD_MUTATE, + AF_PARALYSE, + AF_POISON, + AF_POISON_NASTY, + AF_POISON_MEDIUM, + AF_POISON_STRONG, + AF_POISON_STR, + AF_ROT, + AF_VAMPIRIC, + AF_KLOWN +}; + enum mon_attitude_type { ATT_HOSTILE, // 0, default in most cases |