openmw-tes3coop/apps
David Cernat 4b30a44816 [Client] Compare crimeTime and deathTime when NPCs forgive player crimes
Previously, all crime witnesses stopped being hostile to a respawning player for as long as the player's diedSinceArrestAttempt was true. That meant that, in an area with no guards to arrest the player, crime witnesses did not enage in combat with the player at all ever again until diedSinceArrestAttempt became false.

This commit makes it so the time of the last crime is recorded for each witness, and that is then compared with the time of the LocalPlayer's last death for a one-time crime forgiveness during that player's current life.

This is essentially a gameplay adjustment for "singleplayer with respawns," and will have to be reworked to make sense for every player in multiplayer, though that requires reworking the crime system as a whole and is thus on hold.
2018-07-06 14:17:54 +03:00
..
browser [Browser] Fix crashing of browser (I hope) 2017-08-01 02:16:49 +08:00
bsatool Restore trailing new lines to shrink PR 2017-09-08 22:20:04 +01:00
esmtool Dropping a separate NPDTstruct12 object and instead use NPDTstruct52 2018-05-09 00:25:07 +02:00
essimporter Dropping a separate NPDTstruct12 object and instead use NPDTstruct52 2018-05-09 00:25:07 +02:00
launcher Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
master [Master] Fix REST servers/info 2017-07-31 19:32:27 +08:00
mwiniimporter Read data paths from data-local section too 2018-05-17 21:07:20 +03:00
niftest
opencs Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
openmw [Client] Compare crimeTime and deathTime when NPCs forgive player crimes 2018-07-06 14:17:54 +03:00
openmw-mp Merge branch '0.6.3' of https://github.com/TES3MP/openmw-tes3mp into 0.6.3 2018-07-05 22:28:40 +03:00
openmw_test_suite Merge pull request #1698 from Capostrophic/c++11 2018-05-06 10:44:11 +02:00
wizard Merged pull request #1697 2018-05-23 16:01:11 +02:00
doc.hpp first set of additional doxygen comments 2010-09-25 15:03:53 +02:00