Issue603

Title GAME SETTINGS: all NPC and bots appear damaged when difficulty settings are changed
Priority bug Status open
Assigned To Xenux Keywords
Linked issues Watchers Xenux

Submitted on 2012-07-08 23h10 by lunruj, last changed by jesusalva.

Files
File name Uploaded Type Edit Remove
Lunruj.sav.gz lunruj, 2012-07-08.23:10:15 application/x-gzip
Messages
Author: lunruj Date: 2012-07-08   23h10
I found an interesting thing - when I load the attached position and teleport
back to the town, all NPC and bots are damaged.

Attached Lunruj.sav.gz.
Author: matthiaskrgr Date: 2012-07-09   08h06
Did you change the game difficulty in the option menu between saving and loading
the savegame?
Because that is what causes such issues very easily.
Author: lunruj Date: 2012-07-09   20h06
Yes, I did. So I think it explains that.
Author: salimiles Date: 2012-11-11   08h31
Renaming to reflect the problem.

I think the way to solve this is to keep track of the difficulty settings for
every save game.

Then:
1) On save game load, if the difficulty settings have changed, we should scale
the health of all NPCs and bots to reflect the new settings.

2) Or we could make the difficulty setting persistent for a single save.
Author: jesusalva Date: 2014-08-30   14h39
salimiles: I don't like the second option. If the player was playing and found
it too hard, he/she should be able to switch back to 'easy' as well.

In my opinion, we should save the difficult setting on the save game, and if
it's different from our current, call a function to update everything (HP bars,
etc. I already got issues with updating HP bars on my increase_difficulty() patch.)
History
Date User Action Args
2014-08-30 14:39:21jesusalvasetmessages: + msg2877
2014-08-07 12:07:43Xenuxsetassignedto: Xenux
nosy: + Xenux
2012-11-11 08:31:49salimilessetmessages: + msg2378
title: all NPC and bots damaged -> GAME SETTINGS: all NPC and bots appear damaged when difficulty settings are changed
2012-07-09 20:06:35lunrujsetmessages: + msg2315
2012-07-09 08:06:48matthiaskrgrsetmessages: + msg2313
2012-07-08 23:10:15lunrujcreate