forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
a868401ebc
commit
48a678dcc5
295 files changed
+7644
-467
No files matched your search
@@ -389,9 +389,9 @@ test("Priest target and projectile sounds follow their verified ROS event phases
|
||||
}
|
||||
});
|
||||
|
||||
test("only browser-verified RuneWaker particle phases use original graphs", () => {
|
||||
test("source-linked primary-five phases attach only browser-ready RuneWaker graphs", () => {
|
||||
const manifest = JSON.parse(fs.readFileSync(path.join(projectRoot, "public/assets/game/combat-effects/manifest.json"), "utf8"));
|
||||
const expected = new Set([
|
||||
const required = new Set([
|
||||
"491147:cast-start:model/fx/skill/holy/act_casting_c_hand.ros",
|
||||
"491147:impact:model/fx/skill/holy/act_benedictory_heal_t_down.ros",
|
||||
"490261:cast-start:model/fx/skill/holy/act_casting_c_hand.ros",
|
||||
@@ -402,6 +402,10 @@ test("only browser-verified RuneWaker particle phases use original graphs", () =
|
||||
"490150:cast-start:model/fx/skill/physical/act_charge02_c_down.ros",
|
||||
"490175:impact:model/fx/hit_fx/act_shieldstorm_t_freeze_hit_e.ros",
|
||||
"491168:release:model/fx/skill/wind/act_electric_ball_f_i.ros",
|
||||
"490149:impact:model/fx/skill/holy/act_sanink_c_hit_point_e.ros",
|
||||
"490450:impact:model/fx/skill/physical/act_snipe_t_freeze_hit.ros",
|
||||
"490337:impact:model/fx/skill/physical/act_sneak_attack_t_freeze_hit.ros",
|
||||
"491169:impact:model/fx/skill/wind/act_electric_explode_t_freeze_hit_e.ros",
|
||||
]);
|
||||
const actual = new Set();
|
||||
for (const entry of manifest.entries.filter((candidate) => candidate.source === "runewaker")) {
|
||||
@@ -423,7 +427,8 @@ test("only browser-verified RuneWaker particle phases use original graphs", () =
|
||||
assert.equal(graph.sourceModel, asset.model);
|
||||
}
|
||||
}
|
||||
assert.deepEqual(actual, expected);
|
||||
for (const key of required) assert.ok(actual.has(key), key);
|
||||
assert.ok(actual.size > required.size);
|
||||
for (const spellId of [491147, 490261, 490281]) {
|
||||
const entry = manifest.entries.find((candidate) => candidate.key === `runewaker:${spellId}`);
|
||||
assert.ok(entry.sounds.some((sound) => sound.phase === "cast-start"
|
||||
|
||||
Reference in new issue
Block a user