mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 07:36:41 +00:00
Consider 75% Chameleon magical invisibility as well
This commit is contained in:
parent
9fe0e4c035
commit
0f3dba28a7
1 changed files with 1 additions and 1 deletions
|
@ -39,6 +39,6 @@ namespace MWMechanics
|
|||
{
|
||||
const MagicEffects& magicEffects = actor.getClass().getCreatureStats(actor).getMagicEffects();
|
||||
return (magicEffects.getOrDefault(ESM::MagicEffect::Invisibility).getMagnitude() > 0)
|
||||
|| (magicEffects.getOrDefault(ESM::MagicEffect::Chameleon).getMagnitude() > 75);
|
||||
|| (magicEffects.getOrDefault(ESM::MagicEffect::Chameleon).getMagnitude() >= 75);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue