feat(hero): 新增英雄职业定位系统,优化编队站位逻辑
1. 新增HRole枚举与角色定位配置,解耦成长类型与阵容职能 2. 重构移动系统的编队优先级计算,基于职业定位重新排序站位 3. 重写单行编队站位算法,根据队伍人数自动适配紧凑/松散排布 4. 为所有预设英雄配置对应职业定位
This commit is contained in:
@@ -120,6 +120,7 @@ export class Hero extends ecs.Entity {
|
||||
model.base_card_lv = hero.card_lv ?? 1;
|
||||
model.type = hero.type;
|
||||
model.grow_type = hero.grow_type;
|
||||
model.role = hero.role;
|
||||
model.fac = FacSet.HERO;
|
||||
model.dis = hero.dis ?? 720;
|
||||
model.posIndex = posIndex;
|
||||
|
||||
Reference in New Issue
Block a user