Browse Source

Fix SaveItemPower generating +damage from enemies items instead of -damage.

Found by @Manuel-K
pull/100/head
Sergey Semushin 7 years ago committed by Anders Jenbo
parent
commit
c6d33532a1
  1. 4
      Source/items.cpp

4
Source/items.cpp

@ -1471,10 +1471,10 @@ void SaveItemPower(int i, int power, int param1, int param2, int minval, int max
item[i]._iPLDex -= r;
item[i]._iPLVit -= r;
break;
case IPL_GETHIT:
case IPL_GETHIT_CURSE:
item[i]._iPLGetHit += r;
break;
case IPL_GETHIT_CURSE:
case IPL_GETHIT:
item[i]._iPLGetHit -= r;
break;
case IPL_LIFE:

Loading…
Cancel
Save