Skip to content

Commit

Permalink
Merge pull request #1722 from WilliamDraco/RestoreItemApp_AC
Browse files Browse the repository at this point in the history
Item: RestoreItemAppearance updates item BaseAC Immediately.
  • Loading branch information
Daztek authored Jan 14, 2024
2 parents de24514 + 3a6b154 commit 76e123b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ https://github.com/nwnxee/unified/compare/build8193.36.9...HEAD
- N/A

### Changed
- N/A
- NWNX_Item_RestoreItemAppearance() will now force an immediate update to the items AC, depending on new appearance.

### Deprecated
- N/A
Expand Down
1 change: 1 addition & 0 deletions Plugins/Item/Item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ NWNX_EXPORT ArgumentStack RestoreItemAppearance(ArgumentStack&& args)
break;
}
}
pItem->m_nArmorValue = pItem->ComputeArmorClass();
}
else
{
Expand Down

0 comments on commit 76e123b

Please sign in to comment.