Difference between revisions of "Flying"

From NetHackWiki
Jump to navigation Jump to search
m (grammar)
(you can actually kick creatures through a wall on sufficiently crowded levels)
Line 66: Line 66:
 
[[SLASH'EM]] adds the [[amulet of flying]] which grants flying extrinsically. It cannot be eaten to gain intrinsic flight. Additionally, [[Vampire (starting race)|player vampires]] will start with intrinsic flight.
 
[[SLASH'EM]] adds the [[amulet of flying]] which grants flying extrinsically. It cannot be eaten to gain intrinsic flight. Additionally, [[Vampire (starting race)|player vampires]] will start with intrinsic flight.
  
You can sometimes displace flying monsters by [[kick]]ing them. If the "''foo'' swoops, nimbly evading your kick" then it is moved to a random vacant square adjacent to you.
+
You can sometimes displace flying monsters by [[kick]]ing them. If the "''foo'' swoops, nimbly evading your kick" then it is moved to a vacant square randomly selected from those nearest to you.<ref>[[dokick.c#line209]]</ref> (This means that on sufficiently crowded levels, it is possible for a flying creature to swoop through a wall. This is possibly an effect of [[Bugs in NetHack 3.4.3|bug C343-38]]; it is hard to tell from its description.)
  
 
==Source code==
 
==Source code==

Revision as of 16:34, 13 October 2011

Flying is an intrinsic property. The effects of flying are:

  • You can pass over pits, holes, trap doors, squeaky boards, bear traps, water or lava safely. (Pits and holes in Sokoban will still trap you.)
  • Land mines have a chance of not being triggered, and will not wound your legs.
  • Improved chances of avoiding death by drawbridge.
  • You can move freely over ice or on the Plane of Air.
  • Wounded legs do not reduce your carrying capacity.
  • No ill effects from descending stairs when encumbered, fumbling or punished.
  • You are out of reach of xans' attacks.
  • You escape the dungeon rather than dying by level teleporting to levels between -9 and -1.
  • You can dip objects into water, unlike with levitation.
  • You cannot pick up items trapped in a pit.
  • You cannot snag underwater items with a bullwhip - put on a levitation item if needed.

You can acquire this property by polymorphing into a flying monster:

You can also fly by riding a flying monster:

There are some flying monsters which you cannot polymorph into:

SLASH'EM adds the amulet of flying which grants flying extrinsically. It cannot be eaten to gain intrinsic flight. Additionally, player vampires will start with intrinsic flight.

You can sometimes displace flying monsters by kicking them. If the "foo swoops, nimbly evading your kick" then it is moved to a vacant square randomly selected from those nearest to you.[1] (This means that on sufficiently crowded levels, it is possible for a flying creature to swoop through a wall. This is possibly an effect of bug C343-38; it is hard to tell from its description.)

Source code

In the source code, a monster is defined as flying if it has the M1_FLY flag[2]. Note that flying is different from levitation, and monsters represented by an e levitate rather than fly, even though they possess the M1_FLY flag.

References


This page is based on a spoiler by Dylan O'Donnell. The original license is:

Redistribution, copying, and editing of these spoilers, with or without modification, are permitted provided that the following conditions are met:

  1. The original contributors to any spoiler must continue to be credited.
  2. Any modifications to the spoiler must be acknowledged and credited.