Rewrite and simplify Inventory Menu, various fixes for item effects
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Chickensoft.Collections;
|
||||
using Godot;
|
||||
using Zennysoft.Ma.Adapter.Entity;
|
||||
|
||||
namespace Zennysoft.Ma.Adapter;
|
||||
@@ -28,4 +29,5 @@ public interface IEquipmentComponent : IEntityComponent
|
||||
|
||||
public ElementalResistanceSet ElementalResistance { get; }
|
||||
|
||||
public event Action<EquipableItem> EquipmentChanged;
|
||||
}
|
||||
|
||||
@@ -21,5 +21,5 @@ public interface IHealthComponent : IEntityComponent
|
||||
|
||||
public void SetMaximumHealth(int health);
|
||||
|
||||
public void RaiseMaximumHP(int raiseAmount);
|
||||
public void RaiseMaximumHP(int raiseAmount, bool restoreHP = false);
|
||||
}
|
||||
@@ -16,5 +16,7 @@ public interface IVTComponent : IEntityComponent
|
||||
|
||||
public void SetVT(int vt);
|
||||
|
||||
public void RaiseMaximumVT(int raiseAmount);
|
||||
public void RaiseMaximumVT(int raiseAmount, bool restoreVT = true);
|
||||
|
||||
public void SetMaximumVT(int vt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user