Browse Source

[hellfire] ModifyPlrVit bin exact

pull/876/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
dc6790562f
  1. 7
      Source/player.cpp

7
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;

Loading…
Cancel
Save