Small augment menu fix, fix hp regen rate
This commit is contained in:
@@ -786,7 +786,7 @@ public partial class Player : CharacterBody3D, IPlayer, IProvide<IPlayer>
|
|||||||
if (((Accessory)EquipmentComponent.EquippedAccessory.Value).AccessoryTag == AccessoryTag.HalfVTConsumption)
|
if (((Accessory)EquipmentComponent.EquippedAccessory.Value).AccessoryTag == AccessoryTag.HalfVTConsumption)
|
||||||
_healthTimerActive = !_healthTimerActive;
|
_healthTimerActive = !_healthTimerActive;
|
||||||
|
|
||||||
HealthComponent.Heal(1);
|
HealthComponent.Heal(HealthTimerHPRate);
|
||||||
|
|
||||||
if (_healthTimerActive)
|
if (_healthTimerActive)
|
||||||
VTComponent.Reduce(1);
|
VTComponent.Reduce(1);
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ public partial class AugmentableItemsMenu : Control
|
|||||||
{
|
{
|
||||||
_augmentingItem = augmentingItem;
|
_augmentingItem = augmentingItem;
|
||||||
|
|
||||||
var inventory = _player.Inventory.Items;
|
var inventory = _player.Inventory.Items.OfType<IEquipableItem>();
|
||||||
var validSelectableItems = inventory.Except(inventory.OfType<IEquipableItem>().Where(x => x.Glued)).ToList();
|
var validSelectableItems = inventory.Except(inventory.OfType<IEquipableItem>().Where(x => x.Glued)).ToList();
|
||||||
ItemSlots.ForEach(x => x.SetEmpty());
|
ItemSlots.ForEach(x => x.SetEmpty());
|
||||||
var slotIndex = 0;
|
var slotIndex = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user