From 5a47f7402378683b0310ce3f3a57d5e146ac1a9c Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 14 Aug 2022 21:45:58 +0300 Subject: [PATCH] Fix base EMP damage resistance --- src/proto.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/proto.cc b/src/proto.cc index 0b7427f..0445b26 100644 --- a/src/proto.cc +++ b/src/proto.cc @@ -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));