++护盾技能
This commit is contained in:
@@ -88,6 +88,8 @@ export class Skill extends ecs.Entity {
|
||||
SComp.caster_crit_d = ap_data.crit_d
|
||||
SComp.puncture = ap_data.puncture
|
||||
SComp.puncture_damage = ap_data.puncture_damage
|
||||
SComp.heal = config.heal
|
||||
SComp.shield = config.shield
|
||||
// 设置技能组件属性
|
||||
Object.assign(SComp, {
|
||||
s_uuid: uuid,
|
||||
@@ -101,7 +103,7 @@ export class Skill extends ecs.Entity {
|
||||
group: caster.box_group,
|
||||
fac: caster.fac,
|
||||
scale: caster.scale,
|
||||
animName: config.animName
|
||||
animName: config.animName,
|
||||
});
|
||||
|
||||
this.add(SComp);
|
||||
|
||||
Reference in New Issue
Block a user