Fix base EMP damage resistance

This commit is contained in:
Alexander Batalov 2022-08-14 21:45:58 +03:00
parent c35ea77c59
commit 5a47f74023
1 changed files with 4 additions and 0 deletions

View File

@ -1863,6 +1863,10 @@ int _ResetPlayer()
pcStatsReset();
protoCritterDataResetStats(&(proto->critter.data));
// SFALL: Fix base EMP DR not being properly initialized.
proto->critter.data.baseStats[STAT_DAMAGE_RESISTANCE_EMP] = 100;
critterReset();
characterEditorReset();
protoCritterDataResetSkills(&(proto->critter.data));