refactor(game): 重命名获取天赋选项函数为getTalentBuffs以更准确描述功能
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user