[1.7.0] Darkvision Fix v2.0.0
Posted: Mon Nov 23, 2020 3:13 am
Download link: https://te4.org/games/addons/tome/darkvision_fix
Tweaks LOS code for both NPCs and the player to properly and consistently respect Dark Vision when determining whether Creeping Darkness blocks sight.
Targeting and projection now properly treat Creeping Darkness as transparent if you have Dark Vision, just like any other tile that can be seen through, eliminating awkward behavior when targeting diagonally and/or around corners. If you do not have Dark Vision, these tiles will be treated as opaque. Additionally, NPCs will properly be able to see and target through their own creeping darkness without hindrance. Similar effects to Creeping Darkness such as Cursed Miasma should also be corrected by this addon.
This addon hard-overwrites engine and module functions. As such, I cannot fully guarantee compatibility or stability.
Tweaks LOS code for both NPCs and the player to properly and consistently respect Dark Vision when determining whether Creeping Darkness blocks sight.
Targeting and projection now properly treat Creeping Darkness as transparent if you have Dark Vision, just like any other tile that can be seen through, eliminating awkward behavior when targeting diagonally and/or around corners. If you do not have Dark Vision, these tiles will be treated as opaque. Additionally, NPCs will properly be able to see and target through their own creeping darkness without hindrance. Similar effects to Creeping Darkness such as Cursed Miasma should also be corrected by this addon.
This addon hard-overwrites engine and module functions. As such, I cannot fully guarantee compatibility or stability.