Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression caused by Interkarma#1861
nuking themselves with spells at range in the presence of low obstacles. A side effect of this PR however, is that daedra lords in the "crossbow room" near the end of Mantellan Crux stopped shooting at the player altogether, making this room much less threatening. This new PR checks for obstacles a bit in front of the enemies, so they can still cast from behind thin obstacles (rationale: spells start from arm's reach). It's a bit crude, for example it doesn't change from where the spells will be really cast, but from testing different casters (namely, beside Mantellan Crux's daedra lords: Karolys lich and Gortwog's shaman in entrance of Orsinium), I haven't experienced regressions.
- Loading branch information