Setup the base for abilities and events
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 24s
Create tag and build when new code gets to main / Export (push) Successful in 5m6s

This commit is contained in:
2026-03-22 16:28:57 +01:00
parent d1f83525b1
commit 7bf19868e7
17 changed files with 341 additions and 24 deletions

View File

@@ -9,11 +9,43 @@ public partial class ForgeManager : Node
public CuesManager CuesManager { get; private set; } = new CuesManager();
public TagsManager TagsManager { get; private set; } = new TagsManager(
[
// entities
"character.player",
"weapon",
// Statuses
"status.stunned",
// Abilities
"abilities.weapon.land",
// Events
"events.combat.damage",
"events.combat.hit",
"events.weapon.land",
// Cooldowns
"cooldown.empoweredAction",
"cooldown.empoweredSwordThrow",
// Cues
"cues.resources.mana",
]);
}
public static ForgeManager GetForgeManager(Node node)
{
return node.GetTree().Root.GetNode<ForgeManager>("ForgeManager");
}
public static TagsManager GetTagsManager(Node node)
{
return GetForgeManager(node).TagsManager;
}
public static CuesManager GetCuesManager(Node node)
{
return GetForgeManager(node).CuesManager;
}
}