Browse Source

[hellfire] DoHealOther bin exact

pull/876/head
qndel 7 years ago
parent
commit
f7c90653bd
  1. 10
      Source/spells.cpp

10
Source/spells.cpp

@ -262,6 +262,15 @@ void DoHealOther(int pnum, int rid)
hp += (random(57, 6) + 1) << 6;
}
#ifdef HELLFIRE
if (plr[pnum]._pClass == PC_WARRIOR || plr[pnum]._pClass == PC_BARBARIAN) {
hp <<= 1;
} else if (plr[pnum]._pClass == PC_ROGUE || plr[pnum]._pClass == PC_BARD) {
hp += hp >> 1;
} else if (plr[pnum]._pClass == PC_MONK) {
hp *= 3;
}
#else
if (plr[pnum]._pClass == PC_WARRIOR) {
hp <<= 1;
}
@ -269,6 +278,7 @@ void DoHealOther(int pnum, int rid)
if (plr[pnum]._pClass == PC_ROGUE) {
hp += hp >> 1;
}
#endif
plr[rid]._pHitPoints += hp;

Loading…
Cancel
Save