diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-22 12:40:11 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-22 12:41:24 +0100 |
commit | e4920e5fdf6a8d2ac33b463de967b1190b9353cc (patch) | |
tree | f7c9207ab5e10f6037d819e436c306d6b2b4f083 /crawl-ref/source | |
parent | 19b368a30ab08540eddec3314ff8128c020e6fdf (diff) | |
download | crawl-ref-e4920e5fdf6a8d2ac33b463de967b1190b9353cc.tar.gz crawl-ref-e4920e5fdf6a8d2ac33b463de967b1190b9353cc.zip |
Don't mimic potions of blood, they decay.
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/mon-stuff.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc index 77f74ff11c..d0446ff563 100644 --- a/crawl-ref/source/mon-stuff.cc +++ b/crawl-ref/source/mon-stuff.cc @@ -133,7 +133,9 @@ int _make_mimic_item(monster_type type) case MONS_POTION_MIMIC: item.base_type = OBJ_POTIONS; - item.sub_type = random2(NUM_POTIONS); + do + item.sub_type = random2(NUM_POTIONS); + while (is_blood_potion(item)); break; case MONS_GOLD_MIMIC: |