extend ability system to support dynamic slot counts, add skill tree validation, new prerequisites API, and extended mod commands

This commit is contained in:
2026-05-25 12:33:49 +02:00
parent f7332054ea
commit 77fbada438
32 changed files with 961 additions and 128 deletions
@@ -23,7 +23,7 @@ public class AbilityCooldownHandler {
data.tickCooldowns();
data.tickTagCooldowns();
if (player.tickCount % 10 == 0) {
for (int i = 1; i <= 3; i++) {
for (int i = 1; i <= data.getAbilitySlots().length; i++) {
PacketHandler.CHANNEL.send(
PacketDistributor.PLAYER.with(() -> player),
new ClientboundSyncCooldownPacket(i, data.getCooldown(i))