MCPcopy Create free account
hub / github.com/crawl/crawl / float_player

Function float_player

crawl-ref/source/player.cc:5320–5331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5318}
5319
5320void float_player()
5321{
5322 if (you.fishtail)
5323 {
5324 mpr("Your tail turns into legs as you fly out of the water.");
5325 merfolk_stop_swimming();
5326 }
5327 else if (you.has_mutation(MUT_TENGU_FLIGHT))
5328 mpr("You swoop lightly up into the air.");
5329 else
5330 mpr("You fly up into the air.");
5331}
5332
5333void fly_player(int pow, bool already_flying)
5334{

Callers 4

_flight_equipFunction · 0.85
untransformFunction · 0.85
fly_playerFunction · 0.85
polar_vortex_damageFunction · 0.85

Calls 3

mprFunction · 0.85
merfolk_stop_swimmingFunction · 0.85
has_mutationMethod · 0.80

Tested by

no test coverage detected