mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 09:19:31 +02:00
Update src/modifier/modifier-type.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
32f7c19501
commit
9fd5b75026
@ -2444,7 +2444,7 @@ export class ModifierTypeOption {
|
|||||||
/**
|
/**
|
||||||
* Calculates the team's luck value.
|
* Calculates the team's luck value.
|
||||||
* @param party The player's party.
|
* @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 {
|
export function getPartyLuckValue(party: Pokemon[]): integer {
|
||||||
if (party[0].scene.gameMode.isDaily) {
|
if (party[0].scene.gameMode.isDaily) {
|
||||||
|
Loading…
Reference in New Issue
Block a user