Compare commits

...

4 Commits

Author SHA1 Message Date
Benjamin Odom
f93f2bfca6
Reduce EXP Balance (#1128)
* Set max to 4
2024-05-20 19:06:20 +10:00
GhostFlys
60cbd636e6
update chinese conifg.ts and egg.ts (#1151)
* Update chinese config.ts

* Update chinese egg.ts
2024-05-20 02:18:01 -05:00
Madmadness65
2894c8bfc3 Revert "Update chinese config.ts (#1149)"
This reverts commit 8f8ee9127d.
2024-05-20 01:51:08 -05:00
GhostFlys
8f8ee9127d
Update chinese config.ts (#1149) 2024-05-20 01:44:00 -05:00
4 changed files with 14 additions and 11 deletions

View File

@ -2,7 +2,7 @@ import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger";
import { battle } from "./battle";
import { commandUiHandler } from "./command-ui-handler";
// import { egg } from "./egg";
import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler";
import { growth } from "./growth";
import { menu } from "./menu";
@ -28,7 +28,7 @@ export const zhCnConfig = {
abilityTriggers: abilityTriggers,
battle: battle,
commandUiHandler: commandUiHandler,
// egg: egg,
egg: egg,
fightUiHandler: fightUiHandler,
growth: growth,
menu: menu,

View File

@ -6,16 +6,16 @@ export const egg: SimpleTranslationEntries = {
"ultraTier": "史诗",
"masterTier": "传说",
"defaultTier": "普通",
"hatchWavesMessageSoon": "里面传来声音!似乎快要孵化了!",
"hatchWavesMessageClose": "有时好像会动一下。就快孵化了吧?",
"hatchWavesMessageNotClose": "会孵化出什么呢?看来还需要很长时间才能孵化。",
"hatchWavesMessageLongTime": "这个蛋需要很长时间才能孵化。",
"hatchWavesMessageSoon": "里面传来声音!\n似乎快要孵化了!",
"hatchWavesMessageClose": "有时好像会动一下。\n就快孵化了吧?",
"hatchWavesMessageNotClose": "会孵化出什么呢?\n看来还需要很长时\n间才能孵化。",
"hatchWavesMessageLongTime": "这个蛋需要很长时间\n才能孵化。",
"gachaTypeLegendary": "传说概率上升",
"gachaTypeMove": "稀有概率上升",
"gachaTypeShiny": "闪光概率上升",
"selectMachine": "选择一个机器。",
"notEnoughVouchers": "你没有足够的兑换券!",
"tooManyEggs": "你的蛋太多啦!",
"pull": "",
"pulls": "连抽"
} as const;
"pull": "",
"pulls": ""
} as const;

View File

@ -1423,7 +1423,7 @@ export class ExpBalanceModifier extends PersistentModifier {
}
getMaxStackCount(scene: BattleScene): integer {
return 5;
return 4;
}
}

View File

@ -867,8 +867,11 @@ export class GameData {
const ret: PersistentModifierData[] = [];
if (v === null)
v = [];
for (let md of v)
for (let md of v) {
if(md?.className === 'ExpBalanceModifier') // Temporarily limit EXP Balance until it gets reworked
md.stackCount = Math.min(md.stackCount, 4);
ret.push(new PersistentModifierData(md, player));
}
return ret;
}