Massive refactor (inventory menu still a little broken but its Good Enough)
This commit is contained in:
33
src/items/weapons/WeaponStats.cs
Normal file
33
src/items/weapons/WeaponStats.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using GameJamDungeon;
|
||||
using Godot;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class WeaponStats : InventoryItemStats
|
||||
{
|
||||
[Export]
|
||||
public int Damage { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public double Luck { get; set; } = 0.05;
|
||||
|
||||
[Export]
|
||||
public double AttackSpeed { get; set; } = 1;
|
||||
|
||||
[Export]
|
||||
public double TelluricDamageBonus { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public double AeolicDamageBonus { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public double BaseHydricDamageBonus { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public double IgneousDamageBonus { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public double FerrumDamageBonus { get; set; } = 0;
|
||||
|
||||
[Export]
|
||||
public Godot.Collections.Array<WeaponTag> WeaponTags { get; set; } = new Godot.Collections.Array<WeaponTag>();
|
||||
}
|
||||
Reference in New Issue
Block a user