add more jsdoc

This commit is contained in:
ImperialSympathizer 2024-07-19 20:12:33 -04:00
parent 8c6610b78f
commit e3c1c3bb8c
1 changed files with 7 additions and 0 deletions

View File

@ -372,6 +372,13 @@ export default class IMysteryEncounter implements IMysteryEncounter {
this.dialogueTokens[key] = value; this.dialogueTokens[key] = value;
} }
/**
* If an encounter uses {@link MysteryEncounterVariant.CONTINUOUS_ENCOUNTER},
* should rely on this value for seed offset instead of wave index.
*
* This offset is incremented for each new {@link MysteryEncounterPhase} that occurs,
* so multi-encounter RNG will be consistent on resets and not be affected by number of turns, move RNG, etc.
*/
getSeedOffset?() { getSeedOffset?() {
return this.seedOffset; return this.seedOffset;
} }