Difference between revisions of "Vision"

From Tales of Maj'Eyal
Jump to: navigation, search
(Seeing Stealth or Invisible Entities: Added notes for zero seeing power)
(Added the outcome if enemy fail to see through stealth\invisible)
 
(8 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
* Lit: These tiles are lit by the sun, or through magically field, and do not hinder your sight.
 
* Lit: These tiles are lit by the sun, or through magically field, and do not hinder your sight.
 
* Unlit: You may not see these tiles unless your [[items#lite|lite]] reaches to it (determined by your [[#Light radius|light radius]]).
 
* Unlit: You may not see these tiles unless your [[items#lite|lite]] reaches to it (determined by your [[#Light radius|light radius]]).
* Covered in magical darkness: Blocks all vision and light, can be only lit up with Sun [[Inscriptions|Infusion]] and certain artifacts.
+
* Covered in magical darkness: Blocks all vision and light, can be only lit up with certain talents or artifacts.
  
 
Similarly, there are several stats that help you hide from your enemies:
 
Similarly, there are several stats that help you hide from your enemies:
Line 37: Line 37:
  
 
== Heightened Senses / Infravision ==
 
== Heightened Senses / Infravision ==
Allows you to see creatures standing in unlit tiles within a certain radius and your line of sight.
+
Allows you to see creatures standing in unlit tiles within a certain radius and in your line of sight. Effectively lights up the tile that the creature is standing on, showing items on the ground and any effects in the tile too. Even though a tile may be temporarily lit in such a manner, this does not permanently reveal the terrain there. You must see a tile with normal vision in order for the terrain to be permanently revealed.
  
This effectively lights up the tile that the creature is standing on, showing items on the ground and any effects in the tile too.
+
Ranged attacks may not take the correct path to a distant enemy that is only lit up by heightened senses or infravision if the intervening terrain has not been fully revealed. For example, if an enemy is poking their head out from behind a corner that you are not aware of, and you can only see the enemy with heightened senses or infravision, then your ranged attack could end up hitting that corner.  
  
Even though a tile may be temporarily lit with infravision, this does not technically reveal the terrain. As a result, ranged attacks may not take the correct path to the target. For example, if an enemy is poking their head out from behind a corner that you are not aware of, and you can only see the enemy with infravision, then your ranged attack could end up hitting that corner. You must see a tile with normal vision in order for the terrain to be permanently revealed.
+
Heightened Senses is normally acquired from the {{t|Heightened Senses|eponymous talent}}, whereas infravision is typically acquired from items. These two separate ratings do not stack: whichever is higher will take effect.
  
 
== Seeing Stealth or Invisible Entities ==
 
== Seeing Stealth or Invisible Entities ==
Line 59: Line 59:
  
 
'''B''' = '''S''' / ( '''S''' + '''H''' )
 
'''B''' = '''S''' / ( '''S''' + '''H''' )
 +
 +
''Trivia: the A term above is a [https://en.wikipedia.org/wiki/Fermi%E2%80%93Dirac_statistics Fermi-Dirac distribution]''
  
 
The table in the image below shows the percentage see chance, given the seeing power in the first column, and the hiding power in the first row:
 
The table in the image below shows the percentage see chance, given the seeing power in the first column, and the hiding power in the first row:
Line 66: Line 68:
 
Observers with zero "see invisible" power will not be able to see invisible entities at all, and will not even get a chance to participate in the invisibility check.  
 
Observers with zero "see invisible" power will not be able to see invisible entities at all, and will not even get a chance to participate in the invisibility check.  
  
Observers with zero "see stealth" power can still can still participate in the stealth check, and will see stealthed entities with the chance shown in the table above. This situation can occur if the observer is significantly debuffed.
+
Observers with zero "see stealth" power can still participate in stealth checks, and will see stealthed entities with the chance shown in the table above. This situation can occur if the observer is significantly debuffed.
  
 
If the hiding entity is both stealthed and invisible, then the observer will have to pass both a stealth and invisibility check in order to see the hider.
 
If the hiding entity is both stealthed and invisible, then the observer will have to pass both a stealth and invisibility check in order to see the hider.
  
''Trivia: the A term is a [https://en.wikipedia.org/wiki/Fermi%E2%80%93Dirac_statistics Fermi-Dirac distribution]''
+
'''If an enemy didn't see through stealth\invisible, the enemy will have a 2/3 chance to automatically miss with their weapon attack.'''
  
 
== Telepathy ==
 
== Telepathy ==
Line 77: Line 79:
 
Diggable walls, doors, blindness, invisibility or magical darkness do not affect telepathy. Undiggable walls, such as those surrounding vaults, may block telepathy.
 
Diggable walls, doors, blindness, invisibility or magical darkness do not affect telepathy. Undiggable walls, such as those surrounding vaults, may block telepathy.
  
== Talents and items related to vision ==
+
== Talents related to vision ==
* {{t|Stealth}}: stealth power
+
* {{t|Stealth}}: grants stealth power
* {{t|Invisibility}}: invisibility power
+
* {{t|Invisibility}}: grants invisibility power
* [[Inscriptions#ethereal|Ethereal Rune]]: invisibility power
+
* [[Inscriptions#ethereal|Ethereal Rune]]: grants invisibility power
* {{t|Heightened Senses}}: see stealth and see invisibility
+
* {{t|Heightened Senses}}: increase see stealth and see invisibility
* {{t|Overseer of Nations}}: vision range
+
* {{t|Overseer of Nations}}: increase vision range
* {{t|Chant Adept}}: light radius
+
* {{t|Shadow Shot}}: decrease vision range
* {{t|Hymn Adept}}: infravision
+
* {{t|Chant Adept}}: increase light radius
* {{t|Armour of Shadows}}: turn tiles unlit
+
* {{t|Hymn Adept}}: increase infravision
 +
* {{t|Armour of Shadows}}: make tiles unlit
 
* {{t|Vision}}: reveals terrain
 
* {{t|Vision}}: reveals terrain
 
* {{t|Smoke Bomb}}: blocks line of sight
 
* {{t|Smoke Bomb}}: blocks line of sight
Line 92: Line 95:
  
 
== Artifacts related to vision ==
 
== Artifacts related to vision ==
* [[Umbraphage]]: turn tiles lit
+
* [[Umbraphage]]: makes tiles lit
 
* [[Burning Star]]: reveals terrain
 
* [[Burning Star]]: reveals terrain
  
 
[[Category:Game Mechanics]]
 
[[Category:Game Mechanics]]

Latest revision as of 07:06, 19 May 2024

Introduction

In the character sheet for an entity, there are several stats related to vision that determine whether or no that entity can see certain tiles or other characters.

  • Light radius
  • Vision range
  • Heightened Senses / Infravision
  • Stealth
  • See stealth
  • Invisibility
  • See invisibility
  • Telepathy Range
  • Telepathy

Also, terrain may have 3 different states that will affect what you may or may not see.

A tile may be:

  • Lit: These tiles are lit by the sun, or through magically field, and do not hinder your sight.
  • Unlit: You may not see these tiles unless your lite reaches to it (determined by your light radius).
  • Covered in magical darkness: Blocks all vision and light, can be only lit up with certain talents or artifacts.

Similarly, there are several stats that help you hide from your enemies:

  • Stealth
  • Invisibility
  • Blindness

Light Radius

How far your light reaches. Tiles within this range and line of sight will receive the lit status.

Vision Range

This is how far your normal vision for lit tiles can reach. You cannot see entities farther than this distance even if they are reached by your lite. Most actors will have a vision range of 10.

Entities that fall under your normal vision will be marked as "in sight", and this condition is check by many talents.

In order for unknown terrain to be permanently revealed, the tile must be lit and fall under your normal vision once.

Heightened Senses / Infravision

Allows you to see creatures standing in unlit tiles within a certain radius and in your line of sight. Effectively lights up the tile that the creature is standing on, showing items on the ground and any effects in the tile too. Even though a tile may be temporarily lit in such a manner, this does not permanently reveal the terrain there. You must see a tile with normal vision in order for the terrain to be permanently revealed.

Ranged attacks may not take the correct path to a distant enemy that is only lit up by heightened senses or infravision if the intervening terrain has not been fully revealed. For example, if an enemy is poking their head out from behind a corner that you are not aware of, and you can only see the enemy with heightened senses or infravision, then your ranged attack could end up hitting that corner.

Heightened Senses is normally acquired from the eponymous talent, whereas infravision is typically acquired from items. These two separate ratings do not stack: whichever is higher will take effect.

Seeing Stealth or Invisible Entities

The following information is an interpretation of the game code from ..\tome.team\mod\class\Actor.lua and ..\tome.team\mod\class\interface\Combat.lua, based on how stealth and invisibility checks appear to use the checkHitOld function

The chance for a character to see another one hiding under stealth or invisibility is determined by the following variables and formula:

Note: see stealth appears to be a rescaled stat, whereas see invisibility is not.

S: seeing power, the number given for "see stealth" or "see invisibility" in the character sheet of the observer

H: hiding power, the number given for "stealth" or "invisibility" in the character sheet of the hider

See Chance = (A + B) * 50%

A = 1 / ( 1 + exp( (H - S) / 7 ) )

B = S / ( S + H )

Trivia: the A term above is a Fermi-Dirac distribution

The table in the image below shows the percentage see chance, given the seeing power in the first column, and the hiding power in the first row:

See hide table.png

Observers with zero "see invisible" power will not be able to see invisible entities at all, and will not even get a chance to participate in the invisibility check.

Observers with zero "see stealth" power can still participate in stealth checks, and will see stealthed entities with the chance shown in the table above. This situation can occur if the observer is significantly debuffed.

If the hiding entity is both stealthed and invisible, then the observer will have to pass both a stealth and invisibility check in order to see the hider.

If an enemy didn't see through stealth\invisible, the enemy will have a 2/3 chance to automatically miss with their weapon attack.

Telepathy

Allows you to perceive certain kinds of creatures with your mind, and light them up like infravision.

Diggable walls, doors, blindness, invisibility or magical darkness do not affect telepathy. Undiggable walls, such as those surrounding vaults, may block telepathy.

Talents related to vision

Artifacts related to vision