开始重构技能系统
This commit is contained in:
@@ -45,7 +45,7 @@ export class Skill extends ecs.Entity {
|
||||
}
|
||||
|
||||
// 加载预制体
|
||||
const path = `game/skills/${config.sp_name}`;
|
||||
const path = `game/skill/atk/${config.sp_name}`;
|
||||
const prefab:Prefab = oops.res.get(path, Prefab);
|
||||
if (!prefab) {
|
||||
console.error("[Skill] 预制体加载失败:", path);
|
||||
|
||||
Reference in New Issue
Block a user