Browse Source

[hellfire] GetStaffSpell (#1775)

pull/876/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
2e8e03aff1
  1. 5
      Source/items.cpp

5
Source/items.cpp

@ -1487,9 +1487,12 @@ void GetStaffSpell(int i, int lvl, BOOL onlygood)
int l, rv, s, minc, maxc, v, bs;
char istr[64];
#ifndef HELLFIRE
if (!random(17, 4)) {
GetItemPower(i, lvl >> 1, lvl, 256, onlygood);
} else {
} else
#endif
{
l = lvl >> 1;
if (l == 0)
l = 1;

Loading…
Cancel
Save