Difference between revisions of "Line of sight"

From CrawlWiki
Jump to: navigation, search
m (smoke does not let you fire outside LOS - fireball does)
(+section on attacking from outside LOS)
Line 46: Line 46:
  
 
Because LOS is square, exploring in a diagonal direction will reveal more tiles than exploring in a cardinal one (all else equal). If you want to find an [[Abyss]] exit or uncover the most tiles for [[Meteoran]] regeneration, move diagonally.
 
Because LOS is square, exploring in a diagonal direction will reveal more tiles than exploring in a cardinal one (all else equal). If you want to find an [[Abyss]] exit or uncover the most tiles for [[Meteoran]] regeneration, move diagonally.
 +
 +
===Attacking Outside LOS===
 +
Just like how monsters cannot usually attack you outside your LOS, most of your attacks won't work outside LOS. For example, [[ranged weapon]]s can only shoot up to LOS range, your [[summon]]s cannot attack if either them or their target are out of side, and any [[cloud]]s you create vanish when leaving sight. There are a few exceptions:
 +
 +
*Many types of "explosion" attacks: [[Damnation]], [[Fireball]], [[Iceblast]], [[Lee's Rapid Deconstruction]], [[tin of tremorstones]].
 +
*Certain types of [[allies]]/[[neutral]] monsters: [[Beogh]] orcs, [[charm]]ed monsters, [[Gozag|bribed]] monsters, [[frenzied]] monsters.
 +
*Passive effects: [[poison]] and [[Sticky Flame]]. [[Inner Flame]]'s flame cloud on-damage effect works as well.
 +
 +
Note that there is no way to attack an enemy from a different floor without entering it.
  
 
==History==
 
==History==

Revision as of 08:16, 4 January 2024

Version 0.30: This article may not be up to date for the latest stable release of Crawl.

Line of sight (often abbreviated to LOS) refers to the portion of the Dungeon that you can see. The default LOS used by most species is out to 7 spaces, or a 15x15 square.

Line of sight is similar to, but distinct from, "line of effect" (i.e. the area of the Dungeon you may interact with). Most of the time, they are interchangeable, but some situations may result in places you can see but not affect (such as tiles behind transparent walls) or can affect but cannot see (such as Fireball's explosions hitting foes around corners).

The following picture shows tiles within the default field of view with their grid distance.

777777777777777
766666666666667
765555555555567
765444444444567
765433333334567
765432222234567
765432111234567
7654321@1234567
765432111234567
765432222234567
765433333334567
765444444444567
765555555555567
766666666666667
777777777777777

Altering LOS

There are some ways to change your line of sight:

  • A scarf of shadows reduces LOS by 1.
  • The Robe of Night reduces LOS by 25%, rounded down.
  • Kobolds start with rank 3 of Nightstalker, reducing LOS by 3 tiles to 4 spaces (9x9 square).
  • Barachim have an innate mutation that increases their default LOS by 1, to a total of 8 spaces (17x17 square).

Strategy

If you can't see them, they can't see you. With very few exceptions, enemies that can't see you can't attack you.

There are several ways to break your line of sight with an enemy:

Because LOS is square, exploring in a diagonal direction will reveal more tiles than exploring in a cardinal one (all else equal). If you want to find an Abyss exit or uncover the most tiles for Meteoran regeneration, move diagonally.

Attacking Outside LOS

Just like how monsters cannot usually attack you outside your LOS, most of your attacks won't work outside LOS. For example, ranged weapons can only shoot up to LOS range, your summons cannot attack if either them or their target are out of side, and any clouds you create vanish when leaving sight. There are a few exceptions:

Note that there is no way to attack an enemy from a different floor without entering it.

History

  • Prior to 0.17, line of sight was circular, with a radius of about 8. You could see slightly less tiles overall, and saw much less in diagonal directions. Characters could reach their target in 5 squares (instead of 8) at certain angles.
Ranges were also circular; up to 2 tiles of range were lost when shooting diagonally. For example, Bolt of Fire could shoot 7 tiles in a cardinal direction, 5 in a diagonal one, and 6 in-between. Base ranges across the board were 1 higher than they are in current versions.
  • Prior to 0.7, abilities and spells had rectangular ranges instead of circular ranges.

Changing LOS