Release Healer Man 0.1.21

This commit is contained in:
phenom committed 2026-09-08 10:40:26 -04:00
1 parent 699fc858c9
commit f6f2375145
210 files changed
+976039 -6247

No files matched your search

+7 -1
View File
@@ -29,6 +29,7 @@ interface ExecutableAttack {
readonly range: number;
readonly cooldownMs: number;
readonly damageMultiplier: number;
readonly runewakerFormula?: { readonly spellId: number; readonly runtimeBaselineMultiplier: number };
}
const catalog = JSON.parse(readFileSync(
@@ -43,6 +44,8 @@ const catalog = JSON.parse(readFileSync(
readonly runtimeSqlDependency: boolean;
readonly unknownEffectsExecute: boolean;
readonly coefficientsAreSourceExact: boolean;
readonly pointValuedDamageUsesLabeledScaledAdapter: boolean;
readonly unavailableNativeInputsDefaulted: boolean;
};
readonly spells: readonly CatalogSpell[];
};
@@ -65,6 +68,8 @@ describe("portable RuneWaker source-spell mappings", () => {
runtimeSqlDependency: false,
unknownEffectsExecute: false,
coefficientsAreSourceExact: false,
pointValuedDamageUsesLabeledScaledAdapter: true,
unavailableNativeInputsDefaulted: false,
});
});
@@ -89,8 +94,9 @@ describe("portable RuneWaker source-spell mappings", () => {
school: source?.runtime?.school,
animation: source?.runtime?.animation,
cooldownMs: source?.runtime?.cooldownMs,
damageMultiplier: source?.runtime?.damageMultiplier,
});
expect(attack.damageMultiplier).toBeGreaterThan(0);
expect(attack.runewakerFormula).toMatchObject({ spellId: attack.spellId });
expect(["melee", "projectile", "area"]).toContain(attack.delivery);
expect(["primary", "nearby-party", "random-party"]).toContain(attack.target);
expect(attack.range).toBeGreaterThanOrEqual(source?.runtime?.range ?? 0);