修复 buff 逻辑处理 bug : 预制体不能设置全局监听oops.message.on,会一直执行
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user