From 9b909453a2e070df3ac33277d0a7f07deb6e9132 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 27 Jul 2007 17:26:00 +0000 Subject: Reworked Bazaars as a special case of portal vaults. The level-type is now called portal vault. The dungeon builder bases its behaviour on the level_type_name, which must be set as the "dst" property on the portal leading to the bazaar/portal vault. Added WELCOME: directive to .des files to allow maps to specify a welcome message when the player enters the level (only relevant to encompass maps). Readjusted kenku flight speed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1941 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 00c3e24076..5120e2f876 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5356,15 +5356,13 @@ flight_type player::flies() const bool player::light_flight() const { - return (flies() == FL_FLY && travelling_light()); + // Only Kenku get perks for flying light. + return (species == SP_KENKU && flies() == FL_FLY && travelling_light()); } bool player::travelling_light() const { - const item_def *armour = you.slot_item(EQ_BODY_ARMOUR); - if (armour && !is_light_armour(*armour)) - return (false); - return (you.burden < carrying_capacity(BS_UNENCUMBERED) * 60 / 100); + return (you.burden < carrying_capacity(BS_UNENCUMBERED) * 70 / 100); } int player::mons_species() const -- cgit v1.2.3-54-g00ecf