Browse Source

Fix infravision lasts forever (#5404)

pull/5388/head
obligaron 3 years ago committed by GitHub
parent
commit
c80fcf42c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/items.cpp

2
Source/items.cpp

@ -2603,6 +2603,8 @@ void CalcPlrItemVals(Player &player, bool loadgfx)
player._pILMinDam = lmin;
player._pILMaxDam = lmax;
player._pInfraFlag = false;
player._pBlockFlag = false;
if (player._pClass == HeroClass::Monk) {
if (player.InvBody[INVLOC_HAND_LEFT]._itype == ItemType::Staff && player.InvBody[INVLOC_HAND_LEFT]._iStatFlag) {

Loading…
Cancel
Save