mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Merge d44fee1e5c
into cf5e7fd981
This commit is contained in:
commit
26eca8c00e
26
src/system/settings/difficulty-options.ts
Normal file
26
src/system/settings/difficulty-options.ts
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
export const DIFFICULTY_EXP_RATE_OPTIONS = [
|
||||||
|
{ value: "0.5", label: "0.5x" },
|
||||||
|
{ value: "0.75", label: "0.75x" },
|
||||||
|
{ value: "1", label: "1x (Normal)" },
|
||||||
|
{ value: "1.25", label: "1.25x" },
|
||||||
|
{ value: "1.5", label: "1.5x" },
|
||||||
|
{ value: "2", label: "2x" },
|
||||||
|
];
|
||||||
|
|
||||||
|
export const DIFFICULTY_ENEMY_LEVEL_OPTIONS = [
|
||||||
|
{ value: "0.5", label: "0.5x" },
|
||||||
|
{ value: "0.75", label: "0.75x" },
|
||||||
|
{ value: "1", label: "1x (Normal)" },
|
||||||
|
{ value: "1.25", label: "1.25x" },
|
||||||
|
{ value: "1.5", label: "1.5x" },
|
||||||
|
{ value: "2", label: "2x" },
|
||||||
|
];
|
||||||
|
|
||||||
|
export const DIFFICULTY_LUCK_RATE_OPTIONS = [
|
||||||
|
{ value: "0.5", label: "0.5x" },
|
||||||
|
{ value: "0.75", label: "0.75x" },
|
||||||
|
{ value: "1", label: "1x (Normal)" },
|
||||||
|
{ value: "1.25", label: "1.25x" },
|
||||||
|
{ value: "1.5", label: "1.5x" },
|
||||||
|
{ value: "2", label: "2x" },
|
||||||
|
];
|
@ -182,6 +182,9 @@ export const SettingKeys = {
|
|||||||
Hide_Username: "HIDE_USERNAME",
|
Hide_Username: "HIDE_USERNAME",
|
||||||
Move_Touch_Controls: "MOVE_TOUCH_CONTROLS",
|
Move_Touch_Controls: "MOVE_TOUCH_CONTROLS",
|
||||||
Shop_Overlay_Opacity: "SHOP_OVERLAY_OPACITY",
|
Shop_Overlay_Opacity: "SHOP_OVERLAY_OPACITY",
|
||||||
|
Difficulty_Exp_Rate: "DIFFICULTY_EXP_RATE",
|
||||||
|
Difficulty_Enemy_Level: "DIFFICULTY_ENEMY_LEVEL",
|
||||||
|
Difficulty_Luck_Rate: "DIFFICULTY_LUCK_RATE",
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum MusicPreference {
|
export enum MusicPreference {
|
||||||
@ -714,6 +717,28 @@ export const Setting: Array<Setting> = [
|
|||||||
type: SettingType.DISPLAY,
|
type: SettingType.DISPLAY,
|
||||||
requireReload: false,
|
requireReload: false,
|
||||||
},
|
},
|
||||||
|
// --- Difficulty Section ---
|
||||||
|
{
|
||||||
|
key: SettingKeys.Difficulty_Exp_Rate,
|
||||||
|
label: "EXP Earning Rate",
|
||||||
|
options: require("./difficulty-options").DIFFICULTY_EXP_RATE_OPTIONS,
|
||||||
|
default: 2, // 1x (Normal)
|
||||||
|
type: SettingType.GENERAL,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: SettingKeys.Difficulty_Enemy_Level,
|
||||||
|
label: "Enemy's Pokemon Level Multiplier",
|
||||||
|
options: require("./difficulty-options").DIFFICULTY_ENEMY_LEVEL_OPTIONS,
|
||||||
|
default: 2, // 1x (Normal)
|
||||||
|
type: SettingType.GENERAL,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: SettingKeys.Difficulty_Luck_Rate,
|
||||||
|
label: "Luck Rate Multiplier",
|
||||||
|
options: require("./difficulty-options").DIFFICULTY_LUCK_RATE_OPTIONS,
|
||||||
|
default: 2, // 1x (Normal)
|
||||||
|
type: SettingType.GENERAL,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
if (isLocal) {
|
if (isLocal) {
|
||||||
|
Loading…
Reference in New Issue
Block a user