Additional refactoring and fixing of equipment data
Add attack data to enemy attacks (might need to rework a little bit for primary/secondary attacks)
This commit is contained in:
14
Zennysoft.Game.Ma/src/system/AttackDataResource.cs
Normal file
14
Zennysoft.Game.Ma/src/system/AttackDataResource.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Godot;
|
||||
using Zennysoft.Ma.Adapter;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class AttackDataResource : Resource
|
||||
{
|
||||
[Export]
|
||||
public int Damage { get; set; } = 10;
|
||||
|
||||
[Export]
|
||||
public ElementType ElementType { get; set; } = ElementType.None;
|
||||
}
|
||||
1
Zennysoft.Game.Ma/src/system/AttackDataResource.cs.uid
Normal file
1
Zennysoft.Game.Ma/src/system/AttackDataResource.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ctshiyffvt4y5
|
||||
Reference in New Issue
Block a user