some few fixes that don't fix anything
This commit is contained in:
@@ -40,9 +40,9 @@ public partial class WeaponSystem : RigidBody3D, IDamageDealer, IForgeEntity
|
||||
public delegate void WeaponRetrievedEventHandler();
|
||||
|
||||
[Export]
|
||||
public ForgeTagContainer BaseTags { get; set; } = new();
|
||||
public ForgeTagContainer BaseTags { get; set; }
|
||||
[Export] public ForgeAbilityData[] WeaponAbilities { get; set; } = Array.Empty<ForgeAbilityData>();
|
||||
[Export] public ForgeAbilityData FlyingTickAbility { get; set; } = new();
|
||||
[Export] public ForgeAbilityData FlyingTickAbility { get; set; }
|
||||
|
||||
[Export]
|
||||
public RDamage RDamage { get; set; }
|
||||
@@ -262,6 +262,11 @@ public partial class WeaponSystem : RigidBody3D, IDamageDealer, IForgeEntity
|
||||
// TODO: Waiting on bug resolve
|
||||
_weaponFlyingAbility.Cancel();
|
||||
});
|
||||
|
||||
Events.Subscribe(Tag.RequestTag(tagsManager, "events.weapon.flyingtick"), data =>
|
||||
{
|
||||
GD.Print("Weapon tick triggered!");
|
||||
});
|
||||
}
|
||||
|
||||
public void WeaponLeft()
|
||||
|
||||
Reference in New Issue
Block a user