summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 23:32:17 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 23:32:17 +0000
commit24be5339e3c697c6faf7038a7cbeddae0cf92314 (patch)
tree2c6c70307ecf9b9996737717fd4bfd852b6057e3 /crawl-ref/source/abl-show.cc
parenta6935bcfb6948bdb6d366cfecda141093b8163f3 (diff)
downloadcrawl-ref-24be5339e3c697c6faf7038a7cbeddae0cf92314.tar.gz
crawl-ref-24be5339e3c697c6faf7038a7cbeddae0cf92314.zip
Commit a few changes, mostly clean-up.
* Modify tile_show_items setting in tutorial to (hopefully) show corpses again. * Change skill_exp_needed to use the level input rather than decreasing the passed in parameter, esp. when it was mostly called in the form skill_exp_needed(x + 1) anyway. I was trying to find out what went wrong in BR 1929156 but I can't work out the formula. :( git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5421 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index b71a0e3b7b..8a94c634d5 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -827,7 +827,8 @@ bool activate_ability()
// * Permanent flying (Kenku) cannot be turned off.
if (you.species == SP_VAMPIRE && you.experience_level >= 3)
mpr("Sorry, you're too full to transform right now.");
- else if (you.species == SP_KENKU && you.experience_level >= 5)
+ else if (you.species == SP_KENKU && you.experience_level >= 5
+ || player_mutation_level(MUT_BIG_WINGS))
{
if (you.flight_mode() == FL_FLY)
mpr("You're already flying!");
@@ -1248,7 +1249,7 @@ static bool _do_ability(const ability_def& abil)
exercise( SK_EVOCATIONS, 1 );
break;
- // fly (kenku) -- eventually becomes permanent (see acr.cc)
+ // Fly (kenku) -- eventually becomes permanent (see acr.cc).
case ABIL_FLY:
cast_fly( you.experience_level * 4 );
@@ -2041,9 +2042,9 @@ std::vector<talent> your_talents( bool check_confused )
if (!player_is_airborne())
{
- // kenku can fly, but only from the ground
- // (until level 15, when it becomes permanent until revoked)
- //jmf: "upgrade" for draconians -- expensive flight
+ // Kenku can fly, but only from the ground
+ // (until level 15, when it becomes permanent until revoked).
+ // jmf: "upgrade" for draconians -- expensive flight
if (you.species == SP_KENKU && you.experience_level >= 5)
_add_talent(talents, ABIL_FLY, check_confused );
else if (player_genus(GENPC_DRACONIAN)