Refactor damage calculations and add additional modifiers

This commit is contained in:
wincent
2024-07-06 00:02:30 +02:00
parent 756dc4e44f
commit 5e3312850c
23 changed files with 1061 additions and 394 deletions

View File

@@ -201,6 +201,8 @@ void Item::SetCount(const uint32_t value, const bool silent, const bool disassem
count = value;
InventoryComponent::OnCountChanged(inventory->GetComponent(), this);
if (count == 0) {
RemoveFromInventory();
}