AI awareness and combat engagement are updated too often
GetWeaponDrawn (h2h) and GetSpellReadied return true before or on same frame as OnPCHitMe instead of only returning true on some later frame after OnPCHitMe started to return true
Tested in Windows 0.48 RC4
seffectFireOnPCHitMeWeaponDrawn.ESP modified version of test case in 3894 -- attack Uvoo Llaren in Ghostgate, Temple with a fire spell
- result in 0.48 RC4: NPC enters combat, no effect message pop up (while combat)
- result in 0.47: first effect message pop up, then NPC enters combat
- result in vanilla engine: effect message pop up (a first time then a second time due to Alarm), then NPC enters combat. Note for unrelated issue #5756 if Alarm set to 0 before doing this test: effect message pops up, NPC never attacks.
wrong Likely related to this recent change !2294 (merged)
Edited by rot