refactor(game): 重命名获取天赋选项函数为getTalentBuffs以更准确描述功能

This commit is contained in:
walkpan
2025-12-26 16:22:20 +08:00
parent ab17a96d2e
commit e1ba871d73

View File

@@ -195,7 +195,7 @@ export const TALENT_LEVELS = [5, 10, 15, 20];
* 获取天赋选项(从天赋池中随机抽取)
* @param count 选项数量默认4个
*/
export const getTalentOptions = (count: number = 4): ItalConf[] => {
export const getTalentBuffs = (count: number = 4): ItalConf[] => {
// 获取所有天赋列表
const allTalents = Object.values(talConf);