1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-15 07:56:37 +00:00

Prevent witnesses from ending combat because they didn't get hit

This commit is contained in:
Evil Eye 2025-07-27 21:12:52 +02:00
parent 2051d5cbef
commit f6a6a33c59

View file

@ -1453,6 +1453,7 @@ namespace MWMechanics
}
startCombat(actor, player, &playerFollowers);
observerStats.setHitAttemptActorId(player.getClass().getCreatureStats(player).getActorId());
// Apply aggression value to the base Fight rating, so that the actor can continue fighting
// after a Calm spell wears off