From ee45d583173ec10c5027b164437133a0efda79d4 Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 18 Sep 2008 15:20:46 +0000 Subject: Clean up monster potion handling, fix bug where !oHW healing also applied !oH healing, make monsters drink !oH when helpful, disallow potions for some monsters (currently only liches and mummies, more can be added.) Fixes 2035734, 2048006. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6944 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/it_use2.h | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'crawl-ref/source/it_use2.h') diff --git a/crawl-ref/source/it_use2.h b/crawl-ref/source/it_use2.h index a72a28c741..8ae3e6002c 100644 --- a/crawl-ref/source/it_use2.h +++ b/crawl-ref/source/it_use2.h @@ -12,38 +12,6 @@ #include "externs.h" -enum potion_type -{ - POT_HEALING, // 0 - POT_HEAL_WOUNDS, - POT_SPEED, - POT_MIGHT, - POT_GAIN_STRENGTH, - POT_GAIN_DEXTERITY, // 5 - POT_GAIN_INTELLIGENCE, - POT_LEVITATION, - POT_POISON, - POT_SLOWING, - POT_PARALYSIS, // 10 - POT_CONFUSION, - POT_INVISIBILITY, - POT_PORRIDGE, - POT_DEGENERATION, - POT_DECAY, // 15 - POT_WATER, - POT_EXPERIENCE, - POT_MAGIC, - POT_RESTORE_ABILITIES, - POT_STRONG_POISON, // 20 - POT_BERSERK_RAGE, - POT_CURE_MUTATION, - POT_MUTATION, - POT_RESISTANCE, - POT_BLOOD, // 25 - POT_BLOOD_COAGULATED, - NUM_POTIONS // 27 -}; - /* *********************************************************************** * called from: ability - beam - decks - item_use - misc - religion - -- cgit v1.2.3-54-g00ecf