Release Healer Man 0.1.40

This commit is contained in:
phenom committed 2026-09-13 13:21:27 -04:00
1 parent ed0d2fea3d
commit 197a64117c
215 files changed
+5131 -181

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { equipmentSlotForItem } from "./equipment";
import type { InventoryItem } from "./lootTypes";
/** Heirlooms cover leveling gear. Keep authored non-equipment rewards at every level. */
export function allowedLootDrops(drops: readonly InventoryItem[], playerLevel: number): readonly InventoryItem[] {
return Number.isFinite(playerLevel) && playerLevel >= 80
? drops
: drops.filter((item) => equipmentSlotForItem(item) === null);
}