feat: start nemesis #1227

Merged
Sainan merged 7 commits from nemesis into main 2025-03-20 05:36:10 -07:00
Showing only changes of commit 2af671223e - Show all commits

View File

@ -70,6 +70,7 @@ export const getRandomWeightedRewardUc = <T extends { Rarity: TRarity }>(
return getRandomReward(resultPool);
};
// Seeded RNG for internal usage. Based on recommendations in the ISO C standards.
export class CRng {
state: number;
@ -93,6 +94,7 @@ export class CRng {
}
}
// Seeded RNG for cases where we need identical results to the game client. Based on work by Donald Knuth.
export class SRng {
state: bigint;