Update Healer Man server

This commit is contained in:
phenom committed 2026-09-23 16:14:19 -04:00
1 parent f90ba7d989
commit 189b94d6b7
51 files changed
+3448 -154

No files matched your search

+5 -2
View File
@@ -15,7 +15,7 @@ describe("RuneWaker source loot catalog", () => {
it("executes NPC slot and treasure probabilities deterministically", () => {
const sequence = [0, 0, ...Array.from({ length: 28 }, () => 0.999999)];
const drops = rollRunewakerBossLoot("rw-barren-caves-101462", 37, {
const drops = rollRunewakerBossLoot("rw-barren-caves-101462", 80, {
random: () => sequence.shift() ?? 0.999999,
now: 12_345,
});
@@ -23,11 +23,14 @@ describe("RuneWaker source loot catalog", () => {
itemId: 200004,
name: "Healing Sigil",
quantity: 1,
itemLevel: 37,
itemLevel: 80,
sourceBossName: "Anglo",
inventorySlot: "misc",
});
expect(drops[0].stats).toMatchObject({ stamina: 0, armor: 0, meleeWeapon: null });
expect(rollRunewakerBossLoot("rw-barren-caves-101462", 37, {
random: () => 0,
})).toEqual([]);
});
it("keeps no-source tables and unknown bosses fail closed", () => {