summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transfor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r--crawl-ref/source/transfor.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc
index 0643dbef37..1fb46961d4 100644
--- a/crawl-ref/source/transfor.cc
+++ b/crawl-ref/source/transfor.cc
@@ -207,10 +207,14 @@ static bool _tran_may_meld_cursed(int transformation)
{
switch (transformation)
{
+ case TRAN_BAT:
+ // Vampires of certain Xp may transform into bats even
+ // with cursed gear.
+ if (you.species == SP_VAMPIRE && you.experience_level >= 10)
+ return (true);
+ // intentional fall-through
case TRAN_SPIDER:
- case TRAN_BAT: // Maybe this should depend on xp?
case TRAN_AIR:
- case TRAN_ICE_BEAST:
return (false);
default:
return (true);