Initial commit

This commit is contained in:
Octoturge
2026-06-09 22:06:56 +02:00
commit fb42c6e8cc
121 changed files with 14976 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
// HbM Refill Zeal — bumps zeal by 1 on selected token's actor (debug helper).
const actor = canvas.tokens.controlled[0]?.actor ?? game.user.character;
if (!actor) return ui.notifications.warn('Wybierz token postaci.');
const cur = actor.system.attributes?.zeal?.value ?? 0;
const max = actor.system.attributes?.zeal?.max ?? 0;
const next = Math.min(max, cur + 1);
await actor.update({ 'system.attributes.zeal.value': next });
ui.notifications.info(`${actor.name}: Zapał ${cur}${next}/${max}.`);