From dc6790562f032c9d3fa8e8ce03114e38dc98143c Mon Sep 17 00:00:00 2001 From: qndel Date: Fri, 30 Aug 2019 17:48:07 +0200 Subject: [PATCH] [hellfire] ModifyPlrVit bin exact --- Source/player.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/player.cpp b/Source/player.cpp index 955d13704..5a75f835b 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -3992,8 +3992,13 @@ void ModifyPlrVit(int p, int l) ms = l << 6; if (plr[p]._pClass == PC_WARRIOR) { - ms *= 2; + ms <<= 1; + } +#ifdef HELLFIRE + else if (plr[p]._pClass == PC_BARBARIAN) { + ms <<= 1; } +#endif plr[p]._pHPBase += ms; plr[p]._pMaxHPBase += ms;