Basic projectile implementation (put sample version in FilthEaterModelView)

This commit is contained in:
2025-10-23 18:50:05 -07:00
parent bc161a58b3
commit f5360adbf1
36 changed files with 1124 additions and 106 deletions
@@ -1,7 +1,6 @@
using Chickensoft.Introspection;
using Chickensoft.Serialization;
using Godot;
using Zennysoft.Game.Implementation;
using Zennysoft.Ma.Adapter;
namespace Zennysoft.Game.Ma;
@@ -24,11 +23,26 @@ public abstract partial class InventoryItemStats : Resource
[Export]
[Save("armor_defense")]
public int Defense { get; set; } = 0;
public int BonusDefense { get; set; } = 0;
[Export]
[Save("weapon_luck")]
public double Luck { get; set; } = 0.05;
public double BonusLuck { get; set; } = 0.05;
[Export]
public int AeolicResistance { get; set; } = 0;
[Export]
public int TelluricResistance { get; set; } = 0;
[Export]
public int HydricResistance { get; set; } = 0;
[Export]
public int IgneousResistance { get; set; } = 0;
[Export]
public int FerrumResistance { get; set; } = 0;
[Export(PropertyHint.Range, "0, 25, 0.1")]
public float ThrowSpeed { get; set; } = 12.0f;