Update src/modifier/modifier-type.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
RedstonewolfX 2024-09-24 20:25:04 -04:00 committed by GitHub
parent 32f7c19501
commit 9fd5b75026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2444,7 +2444,7 @@ export class ModifierTypeOption {
/**
* Calculates the team's luck value.
* @param party The player's party.
* @returns A value between 0 and 14, or 0 if the player is in Daily Run mode.
* @returns A number between 0 and 14 based on the party's total luck value, or a random number between 0 and 14 if the player is in Daily Run mode.
*/
export function getPartyLuckValue(party: Pokemon[]): integer {
if (party[0].scene.gameMode.isDaily) {