Support live attribute restoration mechanics

This commit is contained in:
JB
2026-07-27 21:32:04 -04:00
parent 36dd018a4a
commit 568e46cd05
19 changed files with 979 additions and 31 deletions
@@ -65,6 +65,7 @@
{ syntax: 'SCENARIO.<key>', use: 'A builder assumption supplied by Maximum Potential or Custom Scenario mode.' },
{ syntax: 'COMBAT.<path>', use: 'The current calculated combat state, including current or maximum Health.' },
{ syntax: 'PRE-EVENT COMBAT.<path>', use: 'Combat state captured before the current branch changes it.' },
{ syntax: 'ATTRIBUTE[<id>]', use: 'The authoritative loadout total for a stable Attribute ID. Percentage Attributes use their displayed percentage value.' },
{ syntax: 'EQUIPMENT.<path>', use: 'A value from the equipped item, including OS Protocol talent upgrades.' },
{ syntax: 'REDUCER VALUE', use: 'The number produced by the branch reducer.' },
{ syntax: '<pool> FOR AGENT / EVENT TARGET', use: 'The current value in an Agent- or target-scoped state pool.' }
@@ -340,6 +341,14 @@
<div class="basis-list">{#each bases as basis}<code>{basis}</code>{/each}</div>
</div>
</div>
<aside class="contract">
<strong>CONTINUOUS RESTORATION</strong>
<span><code>DELIVER TOTAL CONTINUOUSLY OVER xs</code> distributes one resolved restoration total at a constant rate. Overlapping activations add independently, and excess restoration is lost when it reaches the resource maximum.</span>
</aside>
<aside class="contract">
<strong>LIVE ATTRIBUTE VALUES</strong>
<span><code>ATTRIBUTE[&lt;id&gt;]</code> reads the current loadout value by stable Attribute ID. For a displayed percentage, divide by 100 before applying a flat coefficient: <code>240 * (ATTRIBUTE[&lt;id&gt;] / 100)</code>.</span>
</aside>
</section>
<section id="scenarios" class="reference-section">
+1 -1
View File
@@ -34,7 +34,7 @@
scope: 'equipped_weapon',
attributeId: '',
basis: 'flat',
perStack: true,
perStack: false,
descriptionSlot: 1,
variants: { I: { value: 0 }, II: { value: 0 } }
}]