Browse Source

[hellfire] ModifyPlrStr bin exact

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

2
Source/player.cpp

@ -3891,11 +3891,13 @@ void ModifyPlrStr(int p, int l)
plr[p]._pStrength += l;
plr[p]._pBaseStr += l;
#ifndef HELLFIRE
if (plr[p]._pClass == PC_ROGUE) {
plr[p]._pDamageMod = plr[p]._pLevel * (plr[p]._pStrength + plr[p]._pDexterity) / 200;
} else {
plr[p]._pDamageMod = plr[p]._pLevel * plr[p]._pStrength / 100;
}
#endif
CalcPlrInv(p, TRUE);

Loading…
Cancel
Save