Basic projectile implementation (put sample version in FilthEaterModelView)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user