Throwable item rework, increase health on timer timeout, add boss 1 model

This commit is contained in:
2024-09-22 23:05:33 -07:00
parent f490a390aa
commit 59390c04bf
44 changed files with 3373 additions and 101 deletions

View File

@@ -397,9 +397,9 @@ public partial class InventoryMenu : Control, IInventoryMenu
var currentItem = ItemSlots[_currentIndex].Item;
if (currentItem is IEquipableItem)
await EquipOrUnequipItem();
else if (currentItem is IUsableItem usable)
else if (currentItem is IUsableItem usableItem)
{
usable.Use();
usableItem.Use();
if (_currentIndex >= ItemSlots.Length - 1)
_currentIndex--;
if (_currentIndex <= 0)