From 2e8e03aff1b04c0fbd4dc8a5fbb1e0f030e48f8b Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 2 Oct 2019 07:14:10 +0200 Subject: [PATCH] [hellfire] GetStaffSpell (#1775) --- Source/items.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/items.cpp b/Source/items.cpp index b1a3bd13b..a2af6d10b 100644 --- a/Source/items.cpp +++ b/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;