Add new LSB settings

This commit is contained in:
Corey 2024-05-21 12:33:10 -04:00
parent 20f5b9fa13
commit 90d69a8c57
Signed by: coco
GPG Key ID: 051138DA6AEE3E60
2 changed files with 313 additions and 302 deletions

View File

@ -228,6 +228,7 @@
"MAP.CRAFT_AMOUNT_MULTIPLIER": 1,
"MAP.CRAFT_CHANCE_MULTIPLIER": 1,
"MAP.CRAFT_COMMON_CAP": 700,
"MAP.CRAFT_HQ_CHANCE_MULTIPLIER": 1,
"MAP.CRAFT_MODERN_SYSTEM": true,
"MAP.CRAFT_SPECIALIZATION_POINTS": 400,
"MAP.DESPAWN_JUGPETS_BELOW_MINIMUM_LEVEL": false,

View File

@ -1269,6 +1269,17 @@ export const ServerSettingsInfo: Record<string, ServerSetting> = {
return '???';
},
},
'MAP.CRAFT_HQ_CHANCE_MULTIPLIER': {
name: 'Craft HQ Rate',
description: '',
transform: (arg) => {
const numValue = Number(arg);
if (!Number.isNaN(numValue)) {
return `${numValue < 1 ? '' : '+'}${((numValue - 1) * 100).toFixed()}%`;
}
return '???';
},
},
'MAP.CRAFT_MODERN_SYSTEM': {
name: 'Original Crafting System',
description: 'Uses original skill up rates and margins.',
@ -1511,12 +1522,11 @@ export const ServerSettingsInfo: Record<string, ServerSetting> = {
},
'MAP.MOB_SPEED_MOD': {
name: 'Mob Aggro Speed',
description:
'Modifier to apply to monster speed after aggro as a percentage of retail speed.',
description: '',
transform: (arg) => {
const numValue = Number(arg);
if (!Number.isNaN(numValue)) {
return `${numValue < 0 ? '' : '+'}${(((50 + numValue) / 50 - 1) * 100).toFixed()}%`;
return `${numValue < 0 ? '' : '+'}${numValue}%`;
}
return '???';
},