Heightened Hearing: Difference between revisions

109 bytes added ,  14:17, 13 August 2019
Line 14: Line 14:


==Chance of Identification==
==Chance of Identification==
If:
The formula for the chance of correctly identifying a creature is
<math alt="">\text{Random}(1, 100) < \frac{100 + 10 * \text{Level}}{(\text{distance to listener} + 9)^2 * 100}</math>  
<math alt="">\frac{(100 + 10 \times \text{Level})\times 100}{(\text{distance to listener} + 9)^2}%</math>  


is true, the creature is identified as their tile.<ref>XRL.World.Parts.Effects.HeightenedHearingEffect.cs</ref> If not, a {{qud char|&amp;W|?}} is displayed instead.
If this percentage is greater than a random roll between 1 and 100, the creature is identified as their tile.<ref>XRL.World.Parts.Effects.HeightenedHearingEffect.cs</ref> If not, a {{qud char|&amp;W|?}} is displayed instead.


==References==
==References==