修复 buff 逻辑处理 bug : 预制体不能设置全局监听oops.message.on,会一直执行

This commit is contained in:
2024-08-28 00:09:55 +08:00
parent 5b1991c90f
commit 4096a17330
15 changed files with 195 additions and 143 deletions

View File

@@ -48,7 +48,7 @@ export class HeroCard extends ecs.Entity {
case 2:
path = "game/heros/skill_card";
url = "game/heros/skill";
({ path: pathName, name, level } = SkillSet[uuid]);
({ path: pathName, name, level } = smc.skills[uuid]);
break;
case 3:
default:
@@ -74,7 +74,6 @@ export class HeroCard extends ecs.Entity {
hcv.card_type=type
hcv.card_level=level
this.add(hcv);
}
}