mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-21 08:20:49 +00:00
add more jsdoc
This commit is contained in:
parent
8c6610b78f
commit
e3c1c3bb8c
@ -372,6 +372,13 @@ export default class IMysteryEncounter implements IMysteryEncounter {
|
||||
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?() {
|
||||
return this.seedOffset;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user