mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-25 19:19:16 +01:00
* [Balance] The cost of buying same-species eggs can be reduced After hatching a certain number of eggs for a starter, the cost of buying same-species eggs for that starter will be reduced (up to 50%) * Add test to validate array lengths for egg costs
11 lines
430 B
TypeScript
11 lines
430 B
TypeScript
import { __TEST_allStarterCandyCosts } from "#balance/starters";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
describe("Starter Candy Costs", () => {
|
|
it("should have the proper length of arrays in `allStarterCandyCosts`", () => {
|
|
for (const starterCandyCosts of __TEST_allStarterCandyCosts) {
|
|
expect(starterCandyCosts.eggCosts).toHaveLength(starterCandyCosts.eggCostReductionThresholds.length + 1);
|
|
}
|
|
});
|
|
});
|