mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
Fix NPCs being able to practice Block skill
This commit is contained in:
parent
144c818b41
commit
3ac04060c1
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ namespace MWMechanics
|
||||||
|
|
||||||
blockerStats.setBlock(true);
|
blockerStats.setBlock(true);
|
||||||
|
|
||||||
if (blocker.getClass().isNpc())
|
if (blocker.getCellRef().getRefId() == "player")
|
||||||
blocker.getClass().skillUsageSucceeded(blocker, ESM::Skill::Block, 0);
|
blocker.getClass().skillUsageSucceeded(blocker, ESM::Skill::Block, 0);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue