Fix invis #595

Merged
NQNStudios merged 3 commits from fix-invis into master 2025-02-09 23:38:34 +00:00
NQNStudios commented 2025-02-09 22:43:50 +00:00 (Migrated from github.com)

I consulted with Slarty on how this spell was probably supposed to work based on the code. Slarty explained how indexing the hit_chance array by monster level can be a debuff even if monster level isn't halved (as in the case of the ranged attack on an invisible target). The only real bug here is that in melee cases, an early return would happen even if the roll failed and no text was printed.

Fix #110

I consulted with Slarty on how this spell was probably supposed to work based on the code. Slarty explained how indexing the hit_chance array by monster level can be a debuff even if monster level isn't halved (as in the case of the ranged attack on an invisible target). The only real bug here is that in melee cases, an early return would happen even if the roll failed and no text was printed. Fix #110
Sign in to join this conversation.
No description provided.