summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-18 15:20:46 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-18 15:20:46 +0000
commitee45d583173ec10c5027b164437133a0efda79d4 (patch)
tree9fb152d8175ab78e4347ff8ac6acf49ad641ecf8 /crawl-ref/source/it_use2.h
parent6cb8f61061f9423b35c3c2e271055db44a8d4b8a (diff)
downloadcrawl-ref-ee45d583173ec10c5027b164437133a0efda79d4.tar.gz
crawl-ref-ee45d583173ec10c5027b164437133a0efda79d4.zip
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
Diffstat (limited to 'crawl-ref/source/it_use2.h')
-rw-r--r--crawl-ref/source/it_use2.h32
1 files changed, 0 insertions, 32 deletions
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 -