Show navigation
Commissions
The daily tasks, their dealing, their claims and Katheryne's bonus are built (commissions), on the four a day the quests proposal deals and the Adventure Rank that opens them. What remains is what a commission does in the world once it is dealt: the area it swaps, the quest it finishes with, the day the player keeps, and the handbook that shows the four.
Decisions
- The scene swap is the commissions page's rule. Its old groups stand aside for its new ones until it is done and the area reloads, so a commission replaces the enemies, objects and chests that stood there. The camps and objects a scene task swaps in stand where the spawned places fit them, around the task's own named point.
- A commission is blocked where a quest stands. A task whose place a quest in progress holds is never dealt. Dealing takes that set of places, and the set is read from the quests in progress.
- Each region's pool joins once its quest is done. Only Mondstadt's pool is read so far, and each other region's joins when its daily tasks are read.
- The handbook shows the day's four. The Adventurer Handbook's Commissions tab lists them with the preferred region, as the game shows them, each title and description the game's own words by text id.
- Kept with the player's progress, and every unfinished one replaced at the daily reset, which the world reads from the game's day as the enemies' respawn does.
- The kept day is the moment it was dealt. The save holds the day's four, their counts, the claimed ids and the instant they were dealt, and nothing derived; a day dealt before the latest daily reset (
DAILY_RESET_TIME, 04:00 inGAME_TIME_ZONE) is stale and is dealt again, as the weekly count reads its week fromcomputeWeeklyResetTime. - A quest task finishes with its quest. Its quest's completion reaches the commission once the quests report it.
- Encounter Points come from quests, chests and certain items. Each of those pages gives them and the claim is built, so only the sources wait.
Scope and order
Built: the daily tasks read for Mondstadt, dealt four a day from the reached areas, claimed for the reward of the rank each was dealt at, Katheryne's bonus on the day's fourth claim, and an Encounter Point's claim of an unfinished one (commissions).
This adds, in order:
Copy
packages/genshin-world/src/
├── models/commission/CommissionDaySave.ts
└── services/commission/
├── checkIsCommissionDayCurrent.ts
└── computeDailyResetTime.ts
- The kept day.
CommissionDay(packages/genshin-world/src/models/commission/CommissionDay.ts) gainsdealtAt: Temporal.Instant.computeDailyResetTime.ts: the daily reset at or beforenow, its day'sDAILY_RESET_TIMEinnow's time zone, or the day before's whennowis earlier, written ascomputeWeeklyResetTimeis.checkIsCommissionDayCurrent.ts: whether a day'sdealtAtis at or after the daily reset at or beforenow.- The save:
CommissionDaySave.ts, the schema of the day withdealtAtas an ISO string (z.iso.datetime(), asAchievementProgressSavekeepsfinishedAt) and the dealt and claimed lists each at mostCOMMISSIONS_PER_DAYlong;genshinSaveSchemagainscommissionDay: commissionDaySaveSchemawith no default, the stored saves backfilled to it when it lands, and a new player's save holding an empty day dealt at the epoch;GenshinSaveStategainscommissionDay, read inreadGenshinSaveand written intoGenshinSave. - Tests:
computeDailyResetTime.test.ts(a moment before 04:00 reads the day before's reset, one at 04:00 reads its own) andcheckIsCommissionDayCurrent.test.ts(dealt before the reset is stale, after it current), beside each;readGenshinSave.test.tsgains a day read back from its save with itsdealtAt. - No caller deals yet, so nothing in the session changes.
- Scene tasks, swapping their area's camp while open. Waits on the area's groups, which the scene group export the other machine is making carries.
- Quest tasks: a quest's completion reaching its commission, once the quests report a completion.
- The handbook's Commissions tab and the commissions' words.
- Routing and the other regions: the claim's items to the wallet, the bag, the Adventure Rank and the friendship grant, the other regions' pools, and the sources of Encounter Points.
Data and measures
- Read from the game's tables: the scene points the tasks stand at, and the groups a scene task swaps, which the area's extraction holds once it is run.
- Placed by the spawned places: the camps and objects a scene task swaps in.
- Read from the recordings: the Adventure Treasure Pack that the wiki lists on Katheryne's bonus, which the dump's preview names at a count of zero, is settled by a clip of the bonus being claimed (roadmap).
Key files
| File | Role after the change |
|---|---|
packages/genshin-world/src/models/enemy/EnemyCamp.ts | A scene task's camp, swapped in for its area's own |
packages/genshin-world/src/services/quest/advanceQuest.ts | Advances a quest task's quest as any quest's is advanced |
packages/genshin-world/src/services/handbook/constants.ts | The Commissions tab, filled with the day's four |
packages/genshin-world/src/components/Handbook/Screen/Index.vue | Draws the day's commissions and the preferred region |
Sources
- Commission, Genshin Impact Wiki: the scene tasks replacing their area's enemies and objects, the quest blocking a commission's place, the preferred region, and Encounter Points.
- AnimeGameData, the community's per-patch dump: the daily task table with each task's place, radius, finish and swapped groups, read by the built part.
Scroll to top