Browse Source

Merge pull request #1455 from qndel/ModifyPlrDex

[hellfire] ModifyPlrDex bin exact
pull/876/head
Robin Eklind 7 years ago committed by GitHub
parent
commit
86df8f30a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/player.cpp

2
Source/player.cpp

@ -3963,9 +3963,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