openmw-tes3coop/apps/openmw
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
..
mwbase Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mwclass [General] Replace deathReason in death packets with a killer variable 2018-07-05 22:24:51 +03:00
mwdialogue Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mwgui [Client] Log object refNumIndexes and mpNums in a consistent way 2018-07-04 21:54:11 +03:00
mwinput Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mwmechanics [Client] Compare crimeTime and deathTime when NPCs forgive player crimes 2018-07-06 14:17:54 +03:00
mwmp [Client] Compare crimeTime and deathTime when NPCs forgive player crimes 2018-07-06 14:17:54 +03:00
mwphysics Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mwrender [Client] Avoid sending map tiles for Wilderness cells 2018-07-06 03:54:34 +03:00
mwscript Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mwsound Initialize some missing fields in constructors 2018-06-25 09:35:42 +04:00
mwstate Revert "Merge pull request #1701 from akortunov/standfix" 2018-05-26 11:35:48 +00:00
mwworld Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
android_commandLine.cpp
android_commandLine.h
android_main.c android: Update for sdl 2.0.8 2018-03-30 12:44:38 -04:00
CMakeLists.txt [General] Turn PlayerMap into WorldMap, now a Worldstate packet 2018-06-07 12:51:45 +03:00
crashcatcher.cpp
doc.hpp
engine.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
engine.hpp Merge branch 'master' into screenshot360 2018-02-25 11:25:19 +01:00
main.cpp Merge pull request #374 from OpenMW/master while resolving conflicts 2018-01-27 22:52:59 +02:00