Release Healer Man 0.1.40
This commit is contained in:
1 parent
ed0d2fea3d
commit
197a64117c
215 files changed
+5131
-181
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user