Browse Source

[hellfire] SetPlrVit bin exact

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

7
Source/player.cpp

@ -4093,8 +4093,13 @@ void SetPlrVit(int p, int v)
hp = v << 6;
if (plr[p]._pClass == PC_WARRIOR) {
hp *= 2;
hp <<= 1;
}
#ifdef HELLFIRE
else if (plr[p]._pClass == PC_BARBARIAN) {
hp <<= 1;
}
#endif
plr[p]._pHPBase = hp;
plr[p]._pMaxHPBase = hp;

Loading…
Cancel
Save