refactor(技能系统): 统一额外伤害参数命名从exr_dmg改为ext_dmg

修改Skill.ts和SACastSystem.ts中的参数命名,保持代码一致性
This commit is contained in:
2025-11-20 15:11:59 +08:00
parent 5a81704379
commit 8113ec671f
2 changed files with 3 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ export class Skill extends ecs.Entity {
this.addComponents<SMoveDataComp>(SMoveDataComp);
}
load(startPos: Vec3, parent: Node, s_uuid: number, targetPos: Vec3,
caster:HeroViewComp,damage:number=0) {
caster:HeroViewComp,ext_dmg:number=0) {
const config = SkillSet[s_uuid];
if (!config) {