Massive refactor (inventory menu still a little broken but its Good Enough)
This commit is contained in:
32
src/items/accessory/AccessoryStats.cs
Normal file
32
src/items/accessory/AccessoryStats.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
namespace GameJamDungeon;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class AccessoryStats : InventoryItemStats
|
||||
{
|
||||
[Export]
|
||||
public int ATKUp { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public int DEFUp { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public double LUCKUp { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public int MaxHPUp { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public int MaxVTUp { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public Godot.Collections.Array<AccessoryTag> AccessoryTags { get; set; } = new Godot.Collections.Array<AccessoryTag>();
|
||||
}
|
||||
|
||||
public enum AccessoryTag
|
||||
{
|
||||
HalfVTConsumption,
|
||||
StatusEffectImmunity
|
||||
}
|
||||
Reference in New Issue
Block a user