Restore invisibility early-out in combat engagement

check_span
Alexei Kotov 2 years ago
parent 861f1d5303
commit acfff6b25e

@ -631,6 +631,9 @@ namespace MWMechanics
}
}
if (creatureStats2.getMagicEffects().get(ESM::MagicEffect::Invisibility).getMagnitude() > 0)
return;
// Stop here if target is unreachable
if (!canFight(actor1, actor2))
return;

Loading…
Cancel
Save