diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-07 12:28:43 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-07 12:28:43 +0000 |
commit | 3e5e7a27aa380f2ef4d0d1ce8416b82b48856374 (patch) | |
tree | 116d7f27c99d181203e8a9f8fa0a7704fdd96373 /crawl-ref/source/player.cc | |
parent | b0ebf6fe9bec861aeb4687da8bb6c2c83161bd7d (diff) | |
download | crawl-ref-3e5e7a27aa380f2ef4d0d1ce8416b82b48856374.tar.gz crawl-ref-3e5e7a27aa380f2ef4d0d1ce8416b82b48856374.zip |
Kenku, like draconians, can fly whenever they levitate (once they hit
XL 5.) Fixes [2489782].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8302 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 41f86f9ace..8bc7acfebb 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -4283,6 +4283,7 @@ bool extrinsic_amulet_effect(jewellery_type amulet) case AMU_CONTROLLED_FLIGHT: return (you.duration[DUR_CONTROLLED_FLIGHT] || player_genus(GENPC_DRACONIAN) + || (you.species == SP_KENKU && you.experience_level >= 5) || you.attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON || you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT); case AMU_CLARITY: |