mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Prioritise Absorb Attribute and Skill similarly to Damage and Drain
This commit is contained in:
parent
dfca5d95c2
commit
0a4f65c20b
@ -544,6 +544,7 @@ namespace MWMechanics
|
||||
break;
|
||||
}
|
||||
|
||||
case ESM::MagicEffect::AbsorbAttribute:
|
||||
case ESM::MagicEffect::DamageAttribute:
|
||||
case ESM::MagicEffect::DrainAttribute:
|
||||
if (!enemy.isEmpty()
|
||||
@ -567,6 +568,7 @@ namespace MWMechanics
|
||||
}
|
||||
break;
|
||||
|
||||
case ESM::MagicEffect::AbsorbSkill:
|
||||
case ESM::MagicEffect::DamageSkill:
|
||||
case ESM::MagicEffect::DrainSkill:
|
||||
if (enemy.isEmpty() || !enemy.getClass().isNpc())
|
||||
|
Loading…
x
Reference in New Issue
Block a user