Browse Source

[hellfire] ModifyPlrDex bin exact

pull/876/head
qndel 7 years ago
parent
commit
52043ae0f9
  1. 2
      Source/player.cpp

2
Source/player.cpp

@ -3958,9 +3958,11 @@ void ModifyPlrDex(int p, int l)
plr[p]._pBaseDex += l;
CalcPlrInv(p, TRUE);
#ifndef HELLFIRE
if (plr[p]._pClass == PC_ROGUE) {
plr[p]._pDamageMod = plr[p]._pLevel * (plr[p]._pDexterity + plr[p]._pStrength) / 200;
}
#endif
if (p == myplr) {
NetSendCmdParam1(FALSE, CMD_SETDEX, plr[p]._pBaseDex);

Loading…
Cancel
Save