Throwable item rework, increase health on timer timeout, add boss 1 model
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user