AiCombat moving target aiming uses incorrect speed for magic projectiles
Old description:
Current implementation of combat AI just turns an attacker face to target and launch a magic bolt in forward direction.
AI should take in account a movement direction and speed of target to hit it (as shooters in real world do). From gamers replies: it seems this logic is implemented in vanilla engine.
(RM-3948 from redmine: created on 2017-07-05 by Andrei Kortunov, )
Combat AI tries to predict the direction for moving targets like in the original engine for proper aiming, but the relevant function was only adjusted to work with ranged weapon projectiles and not spell projectiles - so instead of using fTargetSpellMaxSpeed GMST as it should it calculates the projectile speed based on fProjectileMin/MaxSpeed GMSTs which are only intended to work with arrows and bolts and it results in very inaccurate aiming vectors for spellcasting.