mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-07 19:23:58 +03:00
Don't use armor mitigation for fall damage
This commit is contained in:
parent
6db936bb3a
commit
0063b63ae4
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ namespace MWClass
|
||||||
else
|
else
|
||||||
getCreatureStats(ptr).setHitRecovery(true); // Is this supposed to always occur?
|
getCreatureStats(ptr).setHitRecovery(true); // Is this supposed to always occur?
|
||||||
|
|
||||||
if(ishealth)
|
if(ishealth && !attacker.isEmpty()) // Don't use armor mitigation for fall damage
|
||||||
{
|
{
|
||||||
// Hit percentages:
|
// Hit percentages:
|
||||||
// cuirass = 30%
|
// cuirass = 30%
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue